Hi Erwin, Monday, September 2, 2002, 11:28:09 AM, I've got:
E> 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; >> ?> E> To be honest, there is nothing wrong. It works in version 4.2.2 (at least, E> here it does) ;-)) E> Grtz Erwin Why not to try <?php $str = <<< EOT ??? It seems to me, that EOD -> End Of Data, and EOT -> End Of Text Silly, but why not to try? :) -- The Same, Steel mailto:[EMAIL PROTECTED] http://www.none.ru -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php