Re: Allow (...)->foo() expressions not only for `new`
| From: | Felipe Pena | Date: | Tue, 26 Feb 2013 17:44:04 +0000 |
| Subject: | Re: Allow (...)->foo() expressions not only for `new` | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-66252@lists.php.net to get a copy of this message | ||
Hi,
>
> Yeah. It's not a simple patch. In the past, we had a lot of problems after
> introducing foo()[$i] syntax, because some edge cases were not taken in
> account.
>
> Thanks. Dmitry.
From what I remember, the same problem that I spotted by foo()[$i] is
the one that we already had with foo()->prop. So it actually was a bug
fix.
--
Regards,
Felipe Pena