Fwd: [PHP] Re: ErrorException and set_exception_handler()
| From: | Richard Quadling | Date: | Tue, 15 Dec 2009 11:32:51 +0000 |
| Subject: | Fwd: [PHP] Re: ErrorException and set_exception_handler() | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-300514@lists.php.net to get a copy of this message | ||
---------- Forwarded message ----------
From: Randall Girard <randallgirard@hotmail.com>
Date: 2009/12/14
Subject: RE: [PHP] Re: ErrorException and set_exception_handler()
To: rquadling@googlemail.com
I understood exactly what was going on in the code! (I'm no fool when
it comes to this) I just thought (logically) that if the ERROR_HANDLER
forces you to end the script when necessary, that the
EXCEPTION_HANDLER would have a similar function... Rather, there is
not a way at all to continue execution. Now that I contemplate this
further, I think I prefer this anyway as I would NOT want errors
firing for ANY reason on a production website! Additionally when one
error happens it often triggers a number of errors (if execution
continues) and when logging of course they are all logged. I would
rather have just the one backtraced error log, and so forth.
Thank you for your help however! It is much appreciated.