title: how to remove values from an array but keep indexes intact
body: <p>I have an array : <code>$myarray = array(153=&gt;2 , 154=&gt;0 , 155=&gt;10 , 156=&gt;15 , 157=&gt;8)</code></p>
  
  <p>I did : <code>sort($myarray);</code> then , to remove the lowest ones, I did <code>array_shift</code> twice , but that reordered the indexes...but I need to keep the indexes unchanged.</p>
  
  <p>Required output is <code>:$myarray = array(155=&gt;10 , 156=&gt;15 , 157=&gt;8)</code> </p>
  
  <p>The array is dynamic so indexes are unknown.</p>