У меня есть два массива
1.
Array
(
[0] => Array
(
[token] => 5217158
[time] => 234034
[ltp] => 153.80
[ltq] => 2
[total_value] => 129688
)
[1] => Array
(
[token] => 5217158
[time] => 234035
[ltp] => 153.80
[ltq] => 11
[total_value] => 129699
)
[2] => Array
(
[token] => 5216450
[time] => 234035
[ltp] => 451.25
[ltq] => 1
[total_value] => 9947
)
)
и 2.
Array
(
[0] => Array
(
[token] => 5216450
[asd] => 4409
)
[1] => Array
(
[token] => 5217158
[asd] => 29950
)
)
Я хочу сделать массив окончательным
Array
(
[0] => Array
(
[token] => 5217158
[time] => 234034
[ltp] => 153.80
[ltq] => 2
[total_value] => 129688
['asdf']=> 29950
)
[1] => Array
(
[token] => 5217158
[time] => 234035
[ltp] => 153.80
[ltq] => 11
[total_value] => 129699
['asdf']=> 29950
)
[2] => Array
(
[token] => 5216450
[time] => 234035
[ltp] => 451.25
[ltq] => 1
[total_value] => 9947
['asdf']=> 4409
)
)
если токен тот же.