On Sun, Sep 21, 2003 at 03:01:41PM -0400, Rich Fox wrote:
: "Eugene Lee" <[EMAIL PROTECTED]> wrote:
: >
: > 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.

Question already answered by another helpful soul: use eval().

: That's not Eugene from the dojo is it?

Hmmm?  What dojo?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to