Skip to content

Instantly share code, notes, and snippets.

@janzikmund
Created March 25, 2019 02:16
Show Gist options
  • Save janzikmund/3d5eebda18c0671b288edd3e95e7b606 to your computer and use it in GitHub Desktop.
Save janzikmund/3d5eebda18c0671b288edd3e95e7b606 to your computer and use it in GitHub Desktop.
<?php
ini_set('error_reporting', E_ERROR);
register_shutdown_function("fatal_handler");
function fatal_handler() {
$error = error_get_last();
echo("<pre>");
print_r($error);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment