note 61984 added to function.eval
| From: | randyc at alagames dot com | Date: | Thu, 16 Feb 2006 18:31:16 +0000 |
| Subject: | note 61984 added to function.eval | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-103854@lists.php.net to get a copy of this message | ||
As per the note below on using eval on a mixed string with php code scattered throughout the string,
it works great with one exception that I have found. The string cannot start with php code. I use it
the eval a content field from a SQL database and it works great as long as the code is not the first
thing in the field. Any ideas why?
----
Server IP: 216.194.113.175
Probable Submitter: 24.236.96.127
----
Manual Page -- http://www.php.net/manual/en/function.eval.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+61984
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+61984&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+61984&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+61984&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+61984&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+61984&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+61984&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+61984&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+61984&report=yes
Search -- http://master.php.net/manage/user-notes.php