possible to do this in 1 line
<p>I have a function that returns an array of named values <code>['upper','lower','chosen']</code>. To read the <code>upper</code> value, I do this </p>

<pre><code>$returned = myfunction($input1, $input2);
$upper = $returned['upper'];
</code></pre>

<p>Is there any way to get it all done in 1 line, maybe like this, but this syntax doesn't work. Any other way?</p>

<pre><code>$upper = myfunction($input1, $input2)['upper'];
</code></pre>
