Re: Can PHP execute a string containing PHP code?
| From: | Eric Harrison | Date: | Fri, 09 May 2008 18:05:01 +0000 |
| Subject: | Re: Can PHP execute a string containing PHP code? | ||
| References: | 1 | Groups: | php.evangelism |
| Request: | Send a blank email to php-evangelism+get-477@lists.php.net to get a copy of this message | ||
eval().
http://us.php.net/manual/en/function.eval.php
-E
On Fri, May 9, 2008 at 1:41 PM, jim <kazmer@ltcq.com> wrote:
> 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
>
>
>
--
Eric Ryan Harrison