note 7737 deleted from eval by jmoore
| From: | jmoore@php.net | Date: | Tue, 15 Aug 2000 00:13:18 +0000 |
| Subject: | note 7737 deleted from eval by jmoore | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-1866@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?