Last active
August 29, 2015 14:16
-
-
Save Jesm/869113bfa074a985f502 to your computer and use it in GitHub Desktop.
Enable 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 | |
error_reporting(E_ERROR | E_CORE_ERROR | E_COMPILE_ERROR); // Just fatal erros | |
// error_reporting(E_ALL); // All levels of errors | |
ini_set('display_errors', 1); // Sets to display the errors on the page |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment