title: Get 3 lowest values from an array, PHP
body: <p>So I know that <code>min()</code> can get me the lowest value from an array, however I need the 3 lowest values from an array.</p>
  
  <p>assuming my array is named <code>$myArray</code>:</p>
  
  <p>I used <code>asort($myArray)</code> on my array, then <code>print_r($myArray)</code> outputs this:</p>
  
  <pre><code>Array (
      [137] =&gt; 4.90416668118
      [135] =&gt; 7.1203544474
      [18] =&gt; 7.2476262434
      [81] =&gt; 8.37903400152
      [33] =&gt; 9.1074567001
      [4] =&gt; 9.90788482793
      [138] =&gt; 10.2493339987
      [5] =&gt; 11.6024401676
      [63]...and so on until
      [124] =&gt; 8727.73285117
      [153] =&gt; 8727.73285117
      [117] =&gt; 8727.73285117
  )
  </code></pre>
  
  <p>How can I get the 3 first values or the X first values should I need to...</p>
  
  <p><strong>I SHOULD HAVE SPECIFIED</strong>:  Is it possible to do this with losing the keys?</p>