Created
March 25, 2019 02:16
-
-
Save janzikmund/3d5eebda18c0671b288edd3e95e7b606 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 | |
ini_set('error_reporting', E_ERROR); | |
register_shutdown_function("fatal_handler"); | |
function fatal_handler() { | |
$error = error_get_last(); | |
echo("<pre>"); | |
print_r($error); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment