How to handle the fatal error uisng try --catch

Hi friends,

I have requirement is how to handle the fatal errors using Try – Catch combination.with out use of set_error_handler function.If any one know please tell.

Cannot, sorry. You need to use set_error_handler, an example is given here: http://us3.php.net/manual/en/function.set-error-handler.php & http://us3.php.net/manual/en/class.errorexception.php

why don’t you use set_error_handler function?

It was my understanding that set_error_handler doesn’t work on fatal errors. You can do some things with output buffering and setting unload functions, but that’s about it. And I just did a quick test, and it seems to confirm to those findings.

Am I missing something?

Not all Fatal errors can be trapped anyway

Thanks for u r replay, i will try on this , mwill meet u later