Most of the time, when there is a function named func1 and it returns an array, I use this method to access a specific index of that returned array:
$myarray=func1();
echo $myarray['AssIndex'];
Is there a way to access it in a single line? Something like this?
// the brackets are not working. this is only to make my meaning clear.
echo {func1}['AssIndex'];