PHP array merge?
<p>I have</p>

<pre><code>Array_A ( [0] =&gt; Array ( [DATE] =&gt; 2012-11-28 , [totalCount] =&gt; )
          [1] =&gt; Array ( [DATE] =&gt; 2012-11-29 , [totalCount] =&gt; )
          [2] =&gt; Array ( [DATE] =&gt; 2012-11-30 , [totalCount] =&gt; ) )

Array_B ( [10] =&gt; Array ( [DATE] =&gt; 2012-11-28 , [totalCount] =&gt; 30 )
          [11] =&gt; Array ( [DATE] =&gt; 2012-11-30 , [totalCount] =&gt; 40 )
          [12] =&gt; Array ( [DATE] =&gt; 2012-12-05 , [totalCount] =&gt; 50 ) )
</code></pre>

<p>How to I do if I need to replace the Array_A with the values from the Array_B and the output should be</p>

<pre><code>Array_A ( [0] =&gt; Array ( [DATE] =&gt; 2012-11-28 , [totalCount] =&gt; 30 )
          [1] =&gt; Array ( [DATE] =&gt; 2012-11-29 , [totalCount] =&gt;    )
          [2] =&gt; Array ( [DATE] =&gt; 2012-11-30 , [totalCount] =&gt; 40 ) )
</code></pre>
