title: Best way to Convert array of arrays into single array
body: <p>I want to convert </p>
  
  <pre><code>$array_of_arrays = [[1,2,3],[4,5,6],[7,8],[9,10]];
  </code></pre>
  
  <p>Into</p>
  
  <pre><code> $array = [1,2,3,4,5,6,7,8,9,10];
  </code></pre>
  
  <p>I can use </p>
  
  <pre><code>    $array = [];
   foreach($array_of_arrays as $one_array):
      $array = array_merge($array,$one_array);
     endforeach;          
  </code></pre>
  
  <p>But i have very long array of arrays, is there any function(method) exists for doing this without foreach loop</p>