title: How to merge arrays without overwriting its index in php?
body: <p>I have this array    </p>
  
  <pre><code>Array
  (
  [0] =&gt; Array
      (
          [0] =&gt; Name
          [1] =&gt; Email
          [2] =&gt; Address
      )
  
  [1] =&gt; Array
      (
          [0] =&gt; vanson
          [1] =&gt; dhmax@pan.com
          [2] =&gt; gurgaon
      )
  
  [2] =&gt; Array
      (
          [0] =&gt; john
          [1] =&gt; 
          [2] =&gt; 
      )
  
  [3] =&gt; Array
      (
          [0] =&gt; sdf
          [1] =&gt; sdfsdf
          [2] =&gt; sdfsd
      )
  
  )    
  </code></pre>
  
  <p>and i want this    </p>
  
  <pre><code>Array
  (       [0] =&gt; Name
          [1] =&gt; Email
          [2] =&gt; Address
          [0] =&gt; vanson
          [1] =&gt; dhmax@pan.com
          [2] =&gt; gurgaon
          [0] =&gt; john
          [1] =&gt; 
          [2] =&gt; 
          [0] =&gt; sdf
          [1] =&gt; sdfsdf
          [2] =&gt; sdfsd
    )    
  </code></pre>
  
  <p><strong>WITHOUT OVERWRITING ITS INDEX</strong>    </p>
  
  <p>or i want to create dynamic arrays and put the same indexed values into individual arrays.something like this  </p>
  
  <pre><code>$arr_1 = array(
                      [0] =&gt; Name
                      [1] =&gt; vanson
                      [2] =&gt; john
                      [3] =&gt; sdf
                      )
    $arr_2 = array(
                      [0] =&gt; Email
                      [1] =&gt; dhmax@pan.com
                      [2] =&gt; 
                      [3] =&gt; sdfsdf
                      )
     $arr_3 = array(
                      [0] =&gt; Address
                      [1] =&gt; gurgaon
                      [2] =&gt; 
                      [3] =&gt; sdfsd
                      )    
  </code></pre>
  
  <p>Arrays are created on the basis of the count of 1st indexed array.(Ex if 0th index has array of 4 then 4 arrays should be created.)</p>