ID:               11803
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Analyzed
+Status:           Closed
 Bug Type:         Documentation problem
 Operating System: sunos 5.7
 PHP Version:      4.0.6
 New Comment:

This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/. In case this was a documentation 
problem, the fix will show up soon at http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.




Previous Comments:
------------------------------------------------------------------------

[2001-06-29 14:09:31] [EMAIL PROTECTED]

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


------------------------------------------------------------------------

[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.

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=11803&edit=1

Reply via email to