title: How to delete key from array and update index?
body: <pre><code>$array = array('a', 'b','c');
  unset($array[0]);
  var_dump($array);
  
  Yields:
  array(1) {
    [1]=&gt;
    'b'
    'c'
  }
  </code></pre>
  
  <p>How do I, remove array[0] to get ['bb','cc'] (no empty keys):</p>
  
  <pre><code>array(1) {
    'b'
    'c'
  }
  </code></pre>