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

2006-06-13 Thread Christopher J. Bottaro
Adam Zey wrote: 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. Thanks for

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

2006-06-13 Thread Eric Butera
Sometimes unexpected errors happen. We write hundreds of lines of code a day. Typos happen, I forget some includes, I type $d-appendCild() instead of $d-appendChild(). It's all a part of the development process. Our application makes extensive use of AJAX and JSON. Sometimes we make an AJAX

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

2006-06-13 Thread Jochem Maas
Christopher J. Bottaro wrote: Adam Zey wrote: 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

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

2006-06-12 Thread Adam Zey
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. Thanks for the help. It is always