Bug #11803: call to undefined function not caught by set_error_handler

From: Date: Fri, 29 Jun 2001 17:01:35 +0000
Subject: Bug #11803: call to undefined function not caught by set_error_handler
Groups: php.dev 
Request: Send a blank email to php-dev+get-58453@lists.php.net to get a copy of this message
From: sbs@adobe.com 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

« previous php.dev (#58453) next »