I think it's actually pretty useful and not that uncommon to have large
chunks of text which you want to capture in a variable (and not deal
with the shortcomings of single quotes and/or output buffering in those
instances). The fact that you haven't found use in it doesn't mean that
others haven't. And we're not talking about something significant which
has risk associated with it and/or impacts other areas.

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
Sdjfslk
Sdfkj
FOO;

Andi

> -----Original Message-----
> From: Antony Dovgal [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, January 30, 2008 10:51 AM
> To: Stas Malyshev
> Cc: 'PHP Internals'
> Subject: Re: [PHP-DEV] nowdocs again
> 
> On 30.01.2008 21:40, Stanislav Malyshev wrote:
> > Waiting for "better syntax" when there's nobody willing to actually
> work on this
> > syntax is just another way to say "kill it".
> 
> "Nobody willing to actually work on this" effectively means "nobody
> actually needs it".
> 
> --
> Wbr,
> Antony Dovgal
> 
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to