note 108997 deleted from function.eval by peehaa
| From: | peehaa@php.net | Date: | Mon, 09 Dec 2013 12:00:40 +0000 |
| Subject: | note 108997 deleted from function.eval by peehaa | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-197874@lists.php.net to get a copy of this message | ||
Note Submitter: maxim at inbox dot ru
----
Another way to catch eval() error:
<?php
$exeption = eval($str);
If ($exeption === null)
//all right, execution was correct
else
//wasn't correct
?>