forcing variable expansion

From: Date: Fri, 19 Sep 2003 20:41:30 +0000
Subject: forcing variable expansion
Groups: php.general 
Request: Send a blank email to php-general+get-163219@lists.php.net to get a copy of this message
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.

« previous php.general (#163219) next »