eval() to string???
| From: | [ rswfire ] | Date: | Wed, 24 Jan 2001 14:35:34 +0000 |
| Subject: | eval() to string??? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-36415@lists.php.net to get a copy of this message | ||
I want to evaluate some PHP code to a string. How can I do this?
$php_code = "echo 'hello';"
I would like to evaluate the code to "hello" in another string...