ID: 11803 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Analyzed Old-Bug Type: *General Issues Bug Type: Documentation problem Operating system: PHP Version: 4.0.6 Assigned To: Comments: FATAL levels of errors are not passed to the user defined error handler. This is documentation problem. Also, the example script on the set_error_handler() manual page is a bit buggy. --Jani Previous Comments: --------------------------------------------------------------------------- [2001-06-29 13:01:35] [EMAIL PROTECTED] $ok=1; function sionna($errno, $errmsg) { global $ok; $ok=0; } set_error_handler('sionna'); xslt_errno(); If xslt_errno is configured into php, $ok will be 1. If xslt_errno is not configured into php, the script will die noisily, or quietly if error_reporting(0). Same deal with eval() -- it also doesn't let you probe for undefined functions. --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11803&edit=2 -- 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]