How to simplify an array with PHP
<p>Seems like a pretty basic question, but how can I simplify an array such as:</p>

<pre><code>Array
(
    [0] =&gt; Array
        (
            [blue_dog_1] =&gt; 2
        )
    [1] =&gt; Array
        (
            [red_dog_1] =&gt; 4
        )
    [2] =&gt; Array
        (
            [red_dog_2] =&gt; 6
        )
)
</code></pre>

<p>To be like:</p>

<pre><code>Array
(
    [blue_dog_1] =&gt; 2
    [red_dog_1] =&gt; 4
    [red_dog_2] =&gt; 6
)
</code></pre>

<p>Thanks in advance.</p>