title: Turning multidimensional array into one-dimensional array
body: <p>I've been banging my head on this one for a while now. </p>
  
  <p>I have this multidimensional array:</p>
  
  <pre><code>Array
  (
      [0] =&gt; Array
          (
              [0] =&gt; foo
              [1] =&gt; bar
              [2] =&gt; hello
          )
  
      [1] =&gt; Array
          (
              [0] =&gt; world
              [1] =&gt; love
          )
  
      [2] =&gt; Array
          (
              [0] =&gt; stack
              [1] =&gt; overflow
              [2] =&gt; yep
              [3] =&gt; man
          )
  </code></pre>
  
  <p>And I need to get this:</p>
  
  <pre><code>Array
  (
      [0] =&gt; foo
      [1] =&gt; bar
      [2] =&gt; hello
      [3] =&gt; world
      [4] =&gt; love
      [5] =&gt; stack
      [6] =&gt; overflow
      [7] =&gt; yep
      [8] =&gt; man
  )
  </code></pre>
  
  <p>Any ideas?</p>
  
  <p>All other solutions I found solve multidimensional arrays with different keys. My arrays use simple numeric keys only.</p>