Last active
December 5, 2018 19:28
-
-
Save stnbu/67bd8f54b96292ca73fa3e5cf5ac05fc to your computer and use it in GitHub Desktop.
I'm gonna blame Microsoft
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function exception_error_handler($errno, $errstr, $errfile, $errline ) { | |
throw new ErrorException($errstr, $errno, 0, $errfile, $errline); | |
} | |
set_error_handler("exception_error_handler"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment