PHP : Custom error handler – handling parse & fatal errors
Actually you can handle parse and fatal errors. It is true that the error handler function you defined with set_error_handler() will not be called. The way to do it is by defining a shutdown function with register_shutdown_function(). Here is what I have working in my website: File prepend.php (this file will be prepended to all … Read more