title: How to rearrange the array element from 0th index in the sequence to end?
body: <p>How to rearrange the array element from 0th index in the sequence to end in PHP?</p>
  
  <blockquote>
    <p><strong>UPDATED</strong></p>
  </blockquote>
  
  <p>I have an array: </p>
  
  <pre><code>$input =array{ 
                                2 =&gt; '13234390',
                                4 =&gt; '12345290',
                                5 =&gt; '21322210' 
                                }
  </code></pre>
  
  <p>now I want this array to be rearranged as</p>
  
  <pre><code>$input =array{ 
                                0 =&gt; '13234390',
                                1 =&gt; '12345290',
                                2 =&gt; '21322210' 
                                }
  </code></pre>