Created
February 27, 2018 15:42
-
-
Save tony2001/d2776bcdbdec48897fc48ca29786c96a to your computer and use it in GitHub Desktop.
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
<?php | |
function handleError($errno, $errstr, $errfile, $errline) { | |
$exception = new exception("blah"); | |
throw $exception; | |
} | |
set_error_handler('handleError', E_ALL); | |
$c = $b[$a]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment