From:             [EMAIL PROTECTED]
Operating system: sunos 5.7
PHP version:      4.0.6
PHP Bug Type:     *General Issues
Bug description:  call to undefined function not caught by set_error_handler

$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 Bug report at: http://bugs.php.net/?id=11803&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]

Reply via email to