How to Change array index and use value sequence? : <p>I got the array in the below mentioned format with name "Result". But I want the Array as mentioned below with name "Desire_result". Kindly help me what to do next so that I can achieve it.</p>

<p><strong>Result:</strong></p>

<pre><code>&lt;?php 
Array
(
    [0] =&gt; Array
        (
            [0] =&gt; 2017-01-01
            [1] =&gt; 2017-01-15
            [2] =&gt; 2017-01-20
            [3] =&gt; 2017-01-30
        )

    [1] =&gt; Array
        (
            [0] =&gt; 2017-02-01
            [1] =&gt; 2017-02-12
            [2] =&gt; 2017-02-17
            [3] =&gt; 2017-02-25
        )

    [2] =&gt; Array
        (
            [0] =&gt; 2017-03-01
            [1] =&gt; 2017-04-01
            [2] =&gt; 2017-04-15
            [3] =&gt; 2017-04-25
        )

    [3] =&gt; Array
        (
            [0] =&gt; 2017-05-01
            [1] =&gt; 2017-05-13
            [2] =&gt; 2017-05-20
            [3] =&gt; 2017-05-26
        )

    [4] =&gt; Array
        (
            [0] =&gt; 2017-06-01
            [1] =&gt; 2017-06-25
            [2] =&gt; 2017-07-15
        )

)
?&gt;
</code></pre>

<p><strong>Desire_result:</strong></p>

<pre><code>&lt;?php
Array
(

    [0] =&gt; 2017-01-01
    [1] =&gt; 2017-01-15
    [2] =&gt; 2017-01-20
    [3] =&gt; 2017-01-30        
    [4] =&gt; 2017-02-01
    [5] =&gt; 2017-02-12
    [6] =&gt; 2017-02-17
    [7] =&gt; 2017-02-25
    [8] =&gt; 2017-03-01
    [9] =&gt; 2017-04-01
    [10] =&gt; 2017-04-15
    [11] =&gt; 2017-04-25
    [12] =&gt; 2017-05-01
    [13] =&gt; 2017-05-13
    [14] =&gt; 2017-05-20
    [15] =&gt; 2017-05-26
    [16] =&gt; 2017-06-01
    [17] =&gt; 2017-06-25
    [18] =&gt; 2017-07-15
) 
?&gt; 
</code></pre>
