Throw away whole array but the first item
<p>Assume I have the following array:</p>

<pre><code>$array(
  '32' =&gt; array('name' =&gt; 'paul', 'age' =&gt; 43),
  '17' =&gt; array('name' =&gt; 'eric', 'age' =&gt; 19),
  '99' =&gt; array('name' =&gt; 'dave', 'age' =&gt; 65)
)
</code></pre>

<p>I am only interested in the first <code>$array</code> item:</p>

<pre><code>$array2 = array('key'=&gt; 32, 'name' =&gt; 'paul', 'age' =&gt; 43)
</code></pre>

<p>What is the most efficient way to accomplish this? In other words, can I throw out all other items of $array with one command?</p>
