note 56322 rejected from function.eval by sean
| From: | sean@php.net | Date: | Wed, 31 Aug 2005 00:03:40 +0000 |
| Subject: | note 56322 rejected from function.eval by sean | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-94472@lists.php.net to get a copy of this message | ||
Note Submitter: jjlopez at condusef dot gob dot mx
----
Help ,I can evaluate a control sentence with function eval()
example
$var1 = "if(x1==1) echo 'uno' else echo 'dos'"
Error!!!
Parse error: parse error, unexpected T_ECHO in C:\Inetpub\wwwroot\_debug_tmp.php(107) :
eval()'d code on line 1
Only evaluate expression regulars ?