Re: tag content

From: Date: Sat, 11 Nov 2000 11:05:18 +0000
Subject: Re: tag content
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-24774@lists.php.net to get a copy of this message
Speaking of which, am I right in concluding there's no way to print out php constants within heredoc blocks? jason > No, it is a PHP 4 feature. > > On Sat, 11 Nov 2000, David P. Schwartz wrote: > > > Rasmus Lerdorf wrote: > > > > > $bodycontent = <<<BLAH > > > <font color="red">some html here</font> > > > BLAH; > > > > > > > Does PHP3 not support this? I keep getting a parse error at the line that > > contains the <<< (I even copied the above code and pasted it into my file > > directly). > > > > -David

« previous php.general (#24774) next »