Describe this feature of a programming language
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?
Array indexing on arbitrary expressions
精彩评论