Re: Feature request
| From: | Sean Coates | Date: | Thu, 09 Nov 2006 23:22:44 +0000 |
| Subject: | Re: Feature request | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-26445@lists.php.net to get a copy of this message | ||
Hi,
> What are you thinking about adding this feature:
> echo foo()[4]; // <---- it that
I'd like to see this. IMO, it's similar to $obj->objproperty->property,
syntactically.
It would also simplify working with third party libraries/apps that pass
a lot of arrays around in a weird way *cough*gallery*cough*.
S