Your lucky :) because I'm using the same version and I have this parse error.
Erwin wrote: > 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php