here docs without expanding variables

From: Date: Fri, 03 Aug 2001 00:41:56 +0000
Subject: here docs without expanding variables
Groups: php.general 
Request: Send a blank email to php-general+get-61024@lists.php.net to get a copy of this message
Hi all, Is it possible to use here docs in php without expanding the variables. Its possible in perl, but perhaps there's a reason only this way is described. If there's no reason not to include this, would others find it useful to add as a feature? Something like $var = <<<'EOF' something with a $var EOF; Then you could use eval. I have another way of doing this, just wanted to see if this was/could be possible. Thanks, Jack Dempsey

« previous php.general (#61024) next »