RE: [PHP] Heredocs

From: Date: Wed, 29 Aug 2007 12:14:52 +0000
Subject: RE: [PHP] Heredocs
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-261449@lists.php.net to get a copy of this message
[snip] Are heredocs supported by PP 5.2.3 running in WinXP/Apache2.2.4 ? I prrint via heredocs and its not working. Print with single quotes and double quotes work. <p> <h6>string init method 3: heredocs</h6> <?php print <<< END Test END; <---tabbed ?> </p> The closing identifier must begin in the first column of the line. Looks like yours is tabbed or spaced over. http://us.php.net/manual/en/language.types.string.php#language.types.str ing.syntax.heredoc

« previous php.general (#261449) next »