第一个数组:一维,第二个数组:二维
我想按键合并两个数组,保留第二个数组的键和值
1st Array (
[30] => 30
[28] => 28
[27] => 27
[16] => 16
)
2nd Array (
[27] => Array (
[person_id] => 27
[person_name] => Jazz Club
[person_job] => 10
[drink_price] => 5
)
)
Expected result Array (
[30] => 30
[28] => 28
[27] => [27] => Array
(
[person_id] => 27
[person_name] => Jazz Club
[person_job] => 10
[drink_price] => 5
)
[16] => 16
)