note 22282 added to function.set-error-handler
| From: | roy@php.net | Date: | Wed, 12 Jun 2002 20:08:20 +0000 |
| Subject: | note 22282 added to function.set-error-handler | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-31759@lists.php.net to get a copy of this message | ||
Useful thing to note - if your error handler throws an error in itself, PHP is smart enough to use
the deault error handler to handle it. This way, you don't end up in infinite flaming loops of
death. This seems to be true, at least, in PHP 4.2.
('Course, there are ways to create your handler to handle even this situation, but it's
probably best left this way for general purposes.)
--
http://www.php.net/manual/en/function.set-error-handler.php
http://master.php.net/manage/user-notes.php?action=edit+22282
http://master.php.net/manage/user-notes.php?action=delete+22282
http://master.php.net/manage/user-notes.php?action=reject+22282