Re: unexpected T_SL
| From: | Voisine | Date: | Mon, 02 Sep 2002 17:09:38 +0000 |
| Subject: | Re: unexpected T_SL | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-114942@lists.php.net to get a copy of this message | ||
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