Re: nowdocs again
| From: | Dmitry Stogov | Date: | Wed, 30 Jan 2008 13:41:26 +0000 |
| Subject: | Re: nowdocs again | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-35020@lists.php.net to get a copy of this message | ||
The final nowdoc patches are attached.
I'm going to commit them on Thursday in case of no objections.
Thanks. Dmitry.
Stanislav Malyshev wrote:
> Hi all!
>
> I remember the topic of 'nowdocs' (if you don't remember what it is,
> read on) was already discussed, but nothing really happened about it.
> For those who just recently woke up from cryogenic sleep :), "nowdocs"
> are heredocs extension that does not interpret the content (think single
> quotes instead of double quotes). Should look something like:
> $foo = <<<'END'
> blah$fooblah
> END
> unline regular heredocs, $foo would be left as-is. I think now it's good
> to add it to 5.3 (and I like 'FOO' syntax best of all variants).
>
> Any objections to this?