How to Push Array values into another Array in PHP?
<p>I'm working with PHP 5.6 and I want to push values from an array in the end of another array so I tried the <code>array_push</code> function but It pushed the whole array like this:</p>

<pre><code>Array
(
    [0] =&gt; Array
        (
            [0] =&gt; a
            [1] =&gt; b
            [2] =&gt; c
        )

    [1] =&gt; Array
       (
           [0] =&gt; d
           [1] =&gt; e
           [2] =&gt; f
       )
)
</code></pre>

<p>What I'm looking for is this :</p>

<pre><code> Array
 (
    [0] =&gt; Array
        (
            [0] =&gt; a
            [1] =&gt; b
            [2] =&gt; c
            [3] =&gt; d
            [4] =&gt; e
            [5] =&gt; f
       )
</code></pre>

<p>Is there any simpler way than looping over the array and adding values one by one :)</p>