note 14425 added to function.eval.php
| From: | jacek at punknet dot cz | Date: | Tue, 31 Jul 2001 07:56:19 +0000 |
| Subject: | note 14425 added to function.eval.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-16088@lists.php.net to get a copy of this message | ||
Could I use eval in this syntax? :
eval("$"."this->form->".$structure["fieldtype"]."(".$structure.");");
$structure is array.
if I use $structure as param of method $structure["fieldtype"], it's parse error in
eval code(on line 1, ofcourse).
If I use "$structure", it's same.
http://www.php.net/manual/en/function.eval.php