Re: Nowdocs revised
| From: | Pierre | Date: | Thu, 16 Aug 2007 21:03:52 +0000 |
| Subject: | Re: Nowdocs revised | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-31657@lists.php.net to get a copy of this message | ||
On 8/16/07, Stanislav Malyshev <stas@zend.com> wrote:
> > I didn't get any further, no :(. The decision of whether to merge the
> > nowdocs patch is out of my hands now, since I don't have source karma.
> > However, since the main thing standing in the way of its implementation
> > was concern over the usefulness, your comment is very helpful, and I'd
> > like to open the topic for discussion again on the list, if no one out
> > there has any objection :)
>
> I think we can have it in HEAD and maybe in 5.3 - though it raises
> questions about compatibility (code not parsing in certain PHP versions
> and parsing in others might be a problem).
I don't see a difference between a "fatal error call to undefined
function" and or a parse error. It can go without problem in 5.3.
> Not sure if <<<~ is the best
> syntax - it's definitely not obvious, maybe we could think of something
> better.
<<< was never obvious, there is no obvious string to use in this case
(not obvious for everyone and his mother).
--Pierre