note 3676 deleted from eval by jmoore

From: Date: Tue, 15 Aug 2000 00:09:25 +0000
Subject: note 3676 deleted from eval by jmoore
Groups: php.notes 
Request: Send a blank email to php-notes+get-1853@lists.php.net to get a copy of this message
eval is a great function but how do I handle errors in evals?? in php3 I used this : if (!@eval($str) { error }; and i worked, but in php4 it is not working anymore, I tried to use php_errormsg, but it give me only errors in the local scope so how can it be done??

« previous php.notes (#1853) next »