note 14710 deleted from function.set-error-handler by sniper
| From: | sniper@php.net | Date: | Fri, 03 Oct 2003 05:35:13 +0000 |
| Subject: | note 14710 deleted from function.set-error-handler by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-57646@lists.php.net to get a copy of this message | ||
Note Submitter: php.net@xidus.xidus.net
----
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.