Suppose i have function
array get_array($argument)
I want access to single element of this array in, so, python style like this:
$vector = get_array($argument)[2];
There is an elegant way to do this without new variables, rewriting function and so on?