Re: [PHP] heredoc problem

2003-03-02 Thread Tom Rogers
Hi, Monday, March 3, 2003, 8:02:14 AM, you wrote: jvc> Can someone tell me what is wrong with the following code: jvc> jvc> Testing jvc> jvc> $str = << Example of string jvc> spanning multiple lines jvc> using heredoc syntax. jvc> EOD; ?>> jvc> jvc> jvc> This is code straight out of the

Re: [PHP] heredoc problem

2003-03-02 Thread janet
. > That's it. That is the problem. Good eye. Thank you, Janet >> -Original Message- >> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >> Sent: Monday, March 03, 2003 9:02 AM >> To: [EMAIL PROTECTED] >> Subject: [PHP] heredoc problem >>

RE: [PHP] heredoc problem

2003-03-02 Thread Martin Towell
March 03, 2003 9:02 AM > To: [EMAIL PROTECTED] > Subject: [PHP] heredoc problem > > > Can someone tell me what is wrong with the following code: > > > Testing > > $str = << Example of string > spanning multiple lines > using heredoc syntax. >

Re: [PHP] heredoc problem

2003-03-02 Thread Ernest E Vogelsinger
At 23:02 02.03.2003, [EMAIL PROTECTED] said: [snip] >Can someone tell me what is wrong with the following code: > >This is code straight out of the PHP manual. I get the error: >Parse error: parse error, unexpected T_SL in testhere.php on line 5 > >I looked

[PHP] heredoc problem

2003-03-02 Thread janet
Can someone tell me what is wrong with the following code: Testing This is code straight out of the PHP manual. I get the error: Parse error: parse error, unexpected T_SL in testhere.php on line 5 I looked up T_SL and it is a token representing << so that means it just doesn't get the <<<.