Created
October 23, 2018 12:21
-
-
Save chrisvasey/bee79d9ad8103bb84b0b9309f5fe56e9 to your computer and use it in GitHub Desktop.
Insert to show errors in PHP code when error reporting is turned off in php.ini
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 | |
//Print Errors on page | |
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