Can PHP execute a string containing PHP code?
| From: | jim | Date: | Fri, 09 May 2008 17:41:15 +0000 |
| Subject: | Can PHP execute a string containing PHP code? | ||
| Groups: | php.evangelism | ||
| Request: | Send a blank email to php-evangelism+get-474@lists.php.net to get a copy of this message | ||
Hi,
Can anyone tell me how to use PHP to execute a string that contains PHP code
which contains references to objects and variables such that when the string
(code) is executed the objects and/or variables are updated (from the
perspective of the calling program)?
I am in the process of determining if PHP is the appropriate scripting
language for an application that I am writing.
Thanks in advance.
Jim