Reputation: 10969
Is there a way to describe the feature of a programming language that allows you to do something like the following:
$foo = return_an_array()[0];
I love this feature in python, and I hate that it's missing in PHP. Is there a name for this?
Upvotes: 1
Views: 171