PHP arsort issue with keys
<pre><code>$vals = array(51, 23, 77, 3, 8, 31, 17, 102, 87);
arsort($vals);  
</code></pre>

<p>From here, how can I get the keys of the 3 first values? If I do <code>$vals[0]</code> it won't work because it'll return me the original [0] key before the arsort.</p>

<p>I want to get the original keys of 102, 87 and 77 after arsort.</p>
