note 88452 deleted from function.eval by danbrown
| From: | danbrown@php.net | Date: | Sun, 25 Jan 2009 16:52:53 +0000 |
| Subject: | note 88452 deleted from function.eval by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-149755@lists.php.net to get a copy of this message | ||
Note Submitter: Anonymous
----
How verify is eval-code right?
I think - so:
function check_syntax($code) {
return @eval($code)===null ? true : false;
}