note 14710 added to function.set-error-handler.php
| From: | php dot net at xidus dot xidus dot net | Date: | Sat, 11 Aug 2001 06:08:34 +0000 |
| Subject: | note 14710 added to function.set-error-handler.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-16571@lists.php.net to get a copy of this message | ||
If you add an error handler, track_errors appears to stop working. If you need to keep the last
error message in a variable anyway, set it as a global variable from the handler. Remember that the
handler gets error_reporting()==0 if the error-throwing expression used the @ operator.
http://www.php.net/manual/en/function.set-error-handler.php