Re: forcing variable expansion
| From: | Eugene Lee | Date: | Fri, 19 Sep 2003 21:46:51 +0000 |
| Subject: | Re: forcing variable expansion | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-163235@lists.php.net to get a copy of this message | ||
On Fri, Sep 19, 2003 at 03:50:40PM -0500, Jay Blanchard wrote:
:
: Eugene Lee asked:
: >
: > If I have a block of text saved in an external text file, e.g.:
: >
: > All {$badstuff} and no {$goodstuff} makes {$name} a dull
: > {$type}.
: >
: > after reading the text into a string, is there a way to force variable
: > expansion? In a sense, it's like having a heredoc for multiline strings
: > with variable expansion while not having the heredoc embedded in PHP
: > code.
:
: http://us3.php.net/eval maybe?
This will work, thanks!