title: How to reindex an array?
body: <p>My array looks like this:</p>
  
  <pre><code>array(
    0 =&gt; 'val',
    2 =&gt; 'val',
    3 =&gt; 'val',
    5 =&gt; 'val',
    7 =&gt; 'val'
  );
  </code></pre>
  
  <p>How can I reset the keys so it will go like <code>0, 1, 2, 3, 4</code>?</p>