开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜