Re: [PHP4BETA] Here-Documents
| From: | Zeev Suraski | Date: | Fri, 09 Apr 1999 14:05:25 +0000 |
| Subject: | Re: [PHP4BETA] Here-Documents | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-42@lists.php.net to get a copy of this message | ||
At 12:42 09/04/99 +0200, Kristian Köhntopp wrote:
>
>What is the syntax for here documents?
It's a bit picky about the syntax, knock out the space between the << and
the EOF and it should work fine. And before you stumble upon the next
trap, here documents are standard expressions, and don't have any special
handling. Among other things, it means that you would still have to put a
semicolon at the end of your print statement for it to be valid! Right now
you can't put this semicolon on the same line as the ending token, but we'd
probably fix that one.
Zeev
--
Zeev Suraski <zeev@zend.com> http://www.zend.com/
For a PGP public key, finger bourbon@netvision.net.il
--
PHP 4 Beta