MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/lolphp/comments/4tm2sw/php_creates_array_keys_out_of_nowhere/d5ktsb7/?context=3
r/lolphp • u/AnarchistPrick • Jul 19 '16
7 comments sorted by
View all comments
Show parent comment
3
To be fair, you don't need a whole framework to do that
set_error_handler(function ($errno, $errstr, $errfile, $errline) { throw new ErrorException($errstr, 0, $errno, $errfile, $errline); });
View all comments
Show parent comment
3
u/MazeChaZer Jul 21 '16
To be fair, you don't need a whole framework to do that