$array 1:-
Array
(
[Test Stock] => Array
(
[intStockCount] => 10
)
[CARTON 50 X 50 X 50] => Array
(
[intStockCount] => 10
)
)
$array2:-
Array
(
[Test Stock] => Array
(
[intInvoiceCount] => 20
)
[CARTON 50 X 50 X 50] => Array
(
[intInvoiceCount] => 30
)
)
I need a new array combining all together without using loop
Array
(
[Test Stock] => Array
(
[intStockCount] => 10
[intInvoiceCount] => 20
)
[CARTON 50 X 50 X 50] => Array
(
[intStockCount] => 10
[intInvoiceCount] => 30
)
)