<?php
$a = array(
array(
'week' => 26,
'#orders_CA' => 0,
'cost_CA' => 0,
'#orders_US' => 3,
'cost_US' => 18.99,
'#orders_INTERNATIONAL' => 0,
'cost_INTERNATIONAL' => 0
),
array(
'week' => 26,
'#orders_CA' => 0,
'cost_CA' => 0,
'#orders_US' => 0,
'cost_US' => 0,
'#orders_INTERNATIONAL' => 22,
'cost_INTERNATIONAL' => 32
),
);
print_r(array_reduce($a, 'array_merge', $a));
preferences:
58.12 ms | 402 KiB | 5 Q