Need to replace the array keys in php
<p>Here is the output array</p>

<pre><code>Array
(
    [0] =&gt; 4
    [2] =&gt; 400
    [3] =&gt; 4000
    [4] =&gt; 40000
)
</code></pre>

<p>from the above array i need to replace the key in an orderly manner.</p>

<pre><code>Array
(
    [0] =&gt; 4
    [1] =&gt; 400
    [2] =&gt; 4000
    [3] =&gt; 40000
)
</code></pre>

<p>then,
I need to add 2 values into above array. That values should any of the the values that array contain. Finally, i need the output like this</p>

<pre><code>Array
(
    [0] =&gt; 4
    [1] =&gt; 400
    [2] =&gt; 4000
    [3] =&gt; 40000
    [4] =&gt; 40
    [5] =&gt; 4000
)
</code></pre>

<p>How to do this?</p>
