note 7737 added to eval

From: Date: Sun, 13 Aug 2000 02:33:00 +0000
Subject: note 7737 added to eval
Groups: php.notes 
Request: Send a blank email to php-notes+get-1785@lists.php.net to get a copy of this message
eval in PHP does not appear to catch exceptions (like it does in perl). That is the following produces a fatal error: eval( "\$obj = new non_existent_obj()" ); Anyone know how to catch this exception? http://www.php.net/manual/function.eval.php

« previous php.notes (#1785) next »