set_error_handler and parse errors
| From: | Dean Hall | Date: | Sun, 25 Mar 2001 18:35:17 +0000 |
| Subject: | set_error_handler and parse errors | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-45500@lists.php.net to get a copy of this message | ||
Is it just me, or do parse errors get reported by the engine even if you use
your own error handler?
I've registered my own error handler with "set_error_handler()", but it
doesn't get called on parse errors -- the manual seems to hint that this is
the case (without actually saying it), and I searched the list archives and
came across someone who hacked the PHP source to make parse errors get
passed to the error handler. Anyone know for sure?
Dean.