Re: Suggestion: echo function(var)[0];
| From: | Kalle Sommer Nielsen | Date: | Fri, 04 Jun 2010 02:01:39 +0000 |
| Subject: | Re: Suggestion: echo function(var)[0]; | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-48641@lists.php.net to get a copy of this message | ||
2010/6/4 Tig <tigger.on@gmail.com>:
> On Fri, Jun 4, 2010 at 11:19 AM, Kalle Sommer Nielsen <kalle@php.net> wrote:
> So does this mean array-dereferencing was original declined but still
> a possible for PHP 6?
> That is how I'm reading it, but just want to make sure.
I belive its because when its been proposed countless times on the
mailing lists, its always been declined (hence why its not in the core
by now). For the PDT I belive it was decided to add both array
dereferencing and call chaining.
I have CC'd stas, perhaps he can give some light on this subject
--
regards,
Kalle Sommer Nielsen
kalle@php.net