我有 2 个数组,每个数组有 2 个属性
第一个数组:
大批 (
[0] => Array
(
[uregisterDate] => 2013-04-03
[total] => 4
)
[1] => Array
(
[uregisterDate] => 2013-04-04
[total] => 4
)
[2] =>; Array
(
[uregisterDate] => 2013-04-05
[total] => 3
)
)
第二个数组:
大批 (
[0] => Array
(
[uregisterDate] => 2013-04-03
[totalFailed] => 2
)
[1] => Array
(
[uregisterDate] => 2013-04-04
[totalFailed] => 4
)
)
我希望最终数组像下面的输出 |( 在两个数组之间合并,键为 uregistredDate:
大批 (
[0] => Array
(
[uregisterDate] => 2013-04-03
[total] => 4
[totalFailed] => 2
)
[1] => Array
(
[uregisterDate] => 2013-04-04
[total] => 4
[totalFailed] => 4
)
[2] =>; Array
(
[uregisterDate] => 2013-04-05
[total] => 3
)
)
任何想法,代码片段?