Last active
August 29, 2015 14:10
-
-
Save horitaku1124/44a4f1f3a1e45632649a to your computer and use it in GitHub Desktop.
PHP settings
This file contains hidden or 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('display_errors', 1); | |
set_error_handler(function ($errorNo, $errorMessage, $errorFile, $errorLine) { | |
throw new ErrorException($errorMessage, 0, $errorNo, $errorFile, $errorLine); | |
}); |
This file contains hidden or 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
display_errors = On |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment