Yeah that is very true. I guess Perl way of doing 'FOO' is better after all :)
Andi > -----Original Message----- > From: Markus Fischer [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 30, 2008 2:33 PM > To: Andi Gutmans > Cc: Antony Dovgal; Stas Malyshev; PHP Internals > Subject: Re: [PHP-DEV] nowdocs again > > Hi, > > Andi Gutmans wrote: > > I think if the syntax is confusing we can go for just a single quote > as > > part of the operator which doesn't make it look like just another > plain > > old string, e.g.: > > > > $bar =<<<'FOO > > Such a thing is not nice for casual string syntax highlighting in > editors. > Needs a special rule to handle an opening but not closing single quote > .. mhmmm :/ > > - Markus -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php