Re: [PHP4BETA] Here-Documents

From: Date: Fri, 09 Apr 1999 16:27:02 +0000
Subject: Re: [PHP4BETA] Here-Documents
References: 1 2 3  Groups: php.version4 
Request: Send a blank email to php-version4+get-53@lists.php.net to get a copy of this message
The problem really is having this collide with the shift-left operator followed by a constant. We really need think about it a bit more. There syntax of here-docs is a bit problematic but we wanted to keep it like in shell. Maybe it's a good idea to change it to something else? Andi At 14:31 09/04/99, Zeev Suraski wrote: >At 13:24 09/04/99 +0200, Kristian Köhntopp wrote: >> >>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 ; > >Fairly, but not something beyond our capabilities. I'll fix this stuff later. > >Zeev >-- >Zeev Suraski <zeev@zend.com> http://www.zend.com/ >For a PGP public key, finger bourbon@netvision.net.il > > >-- >PHP 4 Beta > > > --- Andi Gutmans <andi@zend.com> ICQ: 1568297 PGP: finger andi@vipe.technion.ac.il -- PHP 4 Beta

« previous php.version4 (#53) next »