Re: [PHP4BETA] Here-Documents
| From: | Kristian Köhntopp | Date: | Fri, 09 Apr 1999 11:24:24 +0000 |
| Subject: | Re: [PHP4BETA] Here-Documents | ||
| References: | 1 2 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-46@lists.php.net to get a copy of this message | ||
Zeev Suraski schrieb:
> I just added semicolon support on the same line as
> the label (there must be no whitespace between the
> label and that semicolon, though).
I know little about parsers beside the fact that they are ugly to
code, but I know that the single most asked question on the
PHPLIB mailing list is because of the fact that people exspect to
be able to add whitespace whereever they like between words and
have problems in dealing with cases where they can't.
In other words: Would it be very painful to be able to parse
<?php
print << EOF
lala
EOF ;
???
Kristian
--
Kristian Köhntopp, NetUSE Kommunikationstechnologie GmbH
Siemenswall, D-24107 Kiel, Germany, +49 431 386 436 00
Using PHP3? See our web development library at
http://phplib.shonline.de/ (GPL)
--
PHP 4 Beta