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

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to