From: [EMAIL PROTECTED]
Operating system: PLD Linux 2.4.16
PHP version: 4.0CVS-2002-01-21
PHP Bug Type: Scripting Engine problem
Bug description: set_error_handler(): some parse errors not caught
Some parse errors are caught by assigned error handler, and some are not.
I use:
error_reporting(E_ALL);
set_error_handler('my_error_handler');
For example:
<?php
i_am_some_parse_error
?>
is caught by error handler, and:
<?php
i_am_some_parse_error = 1;
?>
is not caught and displays: "Parse error: parse error in ... on line
...".
--
Edit bug report at: http://bugs.php.net/?id=15154&edit=1
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]