[prev in list] [next in list] [prev in thread] [next in thread]
List: phpdoc
Subject: [PHP-DOC] Bug #11803 Updated: call to undefined function not caught by set_error_handler
From: sniper () php ! net
Date: 2001-06-29 18:09:32
[Download RAW message or body]
ID: 11803
Updated by: sniper
Reported By: sbs@adobe.com
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] sbs@adobe.com
$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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic