RE: [PHP] print <<<EOF
| From: | Rasmus Lerdorf | Date: | Tue, 07 Nov 2000 22:24:10 +0000 |
| Subject: | RE: [PHP] print <<<EOF | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-24196@lists.php.net to get a copy of this message | ||
Get rid of the ';' after the EOF on the last line
On Tue, 7 Nov 2000, Boget, Chris wrote:
> > Is your code actually indented like that? If so, that is
> > your problem. The EOF needs to be at the start of the line.
>
> I also tried unindenting the entire block of code so that every
> line sits at the beginning but still no dice. I get the same error.
> :(
>
> Also, why can it not be indented? All of my code begins at the
> first tab. So if I have a function that sits in a class (which would
> make the code block at least 3 tabs), I need to put the "print <<<"
> block (or at least the EOF part) at the beginning of the line?
>
> Chris
>