Errors when the page cache is active or page compression is on cause output
before headers are sent which then causes a blank page to be output with no
information on the error. These, and other problems, could be handled by
defining our own error handler to catch the errors and either continue or
exit gracefully.
From the PHP docs:
"The following error types cannot be handled with a user defined function:
E_ERROR, E_PARSE, E_CORE_ERROR, E_CORE_WARNING, E_COMPILE_ERROR,
E_COMPILE_WARNING, and most of E_STRICT raised in the file where
set_error_handler() is called. "
Original issue reported on code.google.com by kovellia on 14 Feb 2010 at 9:37
Original issue reported on code.google.com by
kovellia
on 14 Feb 2010 at 9:37