Re: Can PHP execute a string containing PHP code?
[email protected] ("Eric Harrison") Fri, 9 May 2008 14:05:01 -0400
| Newsgroups | php.evangelism |
|---|---|
| Message-ID | <[email protected]> |
eval(). http://us.php.net/manual/en/function.eval.php -E On Fri, May 9, 2008 at 1:41 PM, jim <[email protected]> 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