Bug #13993: eval() parse errors not using error_handler

From: Date: Thu, 08 Nov 2001 20:30:54 +0000
Subject: Bug #13993: eval() parse errors not using error_handler
Groups: php.dev 
Request: Send a blank email to php-dev+get-69828@lists.php.net to get a copy of this message
From: sbarnum@pointsystems.com Operating system: Redhat Linux 7.1 PHP version: 4.0.6 PHP Bug Type: Scripting Engine problem Bug description: eval() parse errors not using error_handler I'm trying to validate some dynamically generated PHP code using eval() set_error_handler('eval_error'); eval($php_code); restore_error_handler(); problem: if $php_code contains a parse error, the error is not reported using the eval_error() function, but uses the generic error handler. -- Edit bug report at: http://bugs.php.net/?id=13993&edit=1

« previous php.dev (#69828) next »