Re: forcing variable expansion
| From: | Rich Fox | Date: | Sun, 21 Sep 2003 19:01:41 +0000 |
| Subject: | Re: forcing variable expansion | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-163370@lists.php.net to get a copy of this message | ||
That's not Eugene from the dojo is it?
Rich
"Eugene Lee" <list-php@fsck.net> wrote in message
news:20030919204130.GB22491@localhost.Earthlink.net...
> 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.