note 91201 deleted from function.eval by peehaa
| From: | peehaa@php.net | Date: | Mon, 09 Dec 2013 12:01:25 +0000 |
| Subject: | note 91201 deleted from function.eval by peehaa | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-197880@lists.php.net to get a copy of this message | ||
Note Submitter: webmaster at drakkofox dot net
----
Never, Never ever forget the ";" on the end of the eval string, if you are adding it to
eval a variable attribuition;
<?php
$data = "$key"."_$sequence";
eval("\$idct=\$idedit_$data;");
?>
we took a long time to discover that the problem was a ";" missing in the end.