Skip to content

Instantly share code, notes, and snippets.

@chrisvasey
Created October 23, 2018 12:21
Show Gist options
  • Save chrisvasey/bee79d9ad8103bb84b0b9309f5fe56e9 to your computer and use it in GitHub Desktop.
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
<?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