Re: unexpected T_SL

From: Date: Mon, 02 Sep 2002 07:28:09 +0000
Subject: Re: unexpected T_SL
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-114877@lists.php.net to get a copy of this message
Voisine wrote: > Hi, > > What is wrong witht his code? Parse error: parse error, unexpected > T_SL in c:\program files\easyphp\www\tutorial\eod.php on line 2 > > <?php > $str = <<<EOD > Example of string > spanning multiple lines > using heredoc syntax. > EOD; > ?> To be honest, there is nothing wrong. It works in version 4.2.2 (at least, here it does) ;-)) Grtz Erwin

« previous php.general (#114877) next »