Re: nowdocs again
| From: | Dmitry Stogov | Date: | Wed, 30 Jan 2008 14:55:01 +0000 |
| Subject: | Re: nowdocs again | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-35026@lists.php.net to get a copy of this message | ||
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.