Re: [PHP] trapping fatal errors...?

2006-06-13 Thread Richard Lynch
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.

[PHP] trapping fatal errors...?

2006-06-12 Thread Christopher J. Bottaro
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

Re: [PHP] Trapping Fatal Errors

2001-06-28 Thread Richard Lynch
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