Is there a way to return an array key from a function in one line?
<p>For example:</p>

<pre><code>$str = 'one-two-three';

$one = explode('-', $str);
</code></pre>

<p>Is there a way to make $one equal to "one" without doing <code>$one = $one[0]</code>?</p>
