On Mon, June 12, 2006 5:00 pm, Christopher J. Bottaro wrote:
Hello,
How can I trap a fatal error (like calling a non existant method,
requiring
a non existant file, etc) and go to a user defined error handler? I
tried
set_error_handler(), but it seems to skip over the errors I care
about.
Hello,
How can I trap a fatal error (like calling a non existant method, requiring
a non existant file, etc) and go to a user defined error handler? I tried
set_error_handler(), but it seems to skip over the errors I care about.
Thanks for the help.
--
PHP General Mailing List
Has anyone come up with a way to trap and log fatal PHP errors? I
understand
how to implement and use a custom error handler for all other error
conditions, but there doesn't appear to be any way to log fatal errors
(such
as a parse error or errors resulting from declaring the same function
3 matches
Mail list logo