RE: [PHP] The <<< convension

From: Date: Wed, 17 Mar 2004 21:41:25 +0000
Subject: RE: [PHP] The <<< convension
Groups: php.general 
Request: Send a blank email to php-general+get-180758@lists.php.net to get a copy of this message
Chris W. Parker <> on Wednesday, March 17, 2004 1:38 PM said: > it's choking on the $variable you've got in your heredoc text. you've > probably got error reporting turned up so that it coughs on those > kinds of errors. notice it didn't cause your program to fail. i should also say.. if you put something like '$variable = "text";' above your heredoc, it'll probably work fine. of course it interpolates variables so it will replace $variable with "text" when it's displayed. chris.

« previous php.general (#180758) next »