Re: [PHP4BETA] Here-Documents
| From: | Andi Gutmans | Date: | Fri, 09 Apr 1999 17:50:25 +0000 |
| Subject: | Re: [PHP4BETA] Here-Documents | ||
| References: | 1 2 3 4 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-60@lists.php.net to get a copy of this message | ||
At 15:31 09/04/99 +0200, Kristian Köhntopp wrote:
>
>Andi Gutmans schrieb:
>> Maybe it's a good idea to change it to something else?
>
>Hmm, triple-<? Or double-_?
Actually <<< might really be the best solution. I don't like the current
ambiguity with the here-doc operator, I prefer it *almost* being like
C-shell if it'll make PHP stay completely unambiguous. I'll talk to Zeev
about it.
print <<< EOF
Blah
EOF
Hmm, looks pretty nice :)
Andi
---
Andi Gutmans <andi@zend.com>
ICQ: 1568297
PGP: finger andi@vipe.technion.ac.il
--
PHP 4 Beta