Describe this feature of a programming language..
        Posted  
        
            by Wells
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Wells
        
        
        
        Published on 2010-05-27T00:29:43Z
        Indexed on 
            2010/05/27
            0:31 UTC
        
        
        Read the original article
        Hit count: 269
        
programming
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?
© Stack Overflow or respective owner