note 22035 deleted from function.eval by didou
| From: | didou@php.net | Date: | Sat, 17 May 2003 14:41:38 +0000 |
| Subject: | note 22035 deleted from function.eval by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-48146@lists.php.net to get a copy of this message | ||
Note Submitter: james@publitek.NOSPAM.com
This drove me nuts for a couple of hours...
Make sure you remember to put a semicolon at the end of whatever you want evaluating:
$test = eval ( 'return(true);' );
Miss out the semi-colon in the above and you'll get an (unhelpful) error.