Created
April 30, 2014 10:41
-
-
Save repejota/e600a5d61c0cf33c8bb7 to your computer and use it in GitHub Desktop.
Show errors in PHP
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 | |
// Report all errors except E_NOTICE | |
error_reporting(E_ALL & ~E_NOTICE); | |
// Report all PHP errors (see changelog) | |
error_reporting(E_ALL); | |
ini_set("display_errors", 1); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment