The feature is very useful, however, I agree, the syntax would be better. :)
The current syntax:
$var = <<<'TEXT'
text
TEXT;
Thanks. Dmitry.
Antony Dovgal wrote:
On 30.01.2008 16:41, Dmitry Stogov wrote:
The final nowdoc patches are attached.
I'm going to commit them on Thursday in case of no objections.
So the current syntax is
$var = <<<'TEXT'
text
'TEXT';
am I right?
I believe it's far from readable and clear and I suggest not to add it until
we have a better syntax.
Also looking at the discussion, I can see only 6 people involved (including Dmitry),
which most likely means nobody is really interested in that "nowdoc" and this is
yet another reason not to add it.
P.S. I personally see no need in such thing at all.
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php