我有 2 个这样的数组:数组一:[ [ "id" => 1234 "name" => "John" ], [ "id" => 1235 "name" => "doe" ]]数组二:[ [ "age" => 12 ], [ "age" => 13 ]]我已经尝试使用 and combine array_reduce, array_mapor array_merge_recursive,但它仍然与结果不匹配。如何制作如下所示的两个数组?[ [ "id" => 1234 "name" => "John" "age" => 12 ], [ "id" => 1235 "name" => "doe" "age" => 13 ]]请帮我。谢谢你
- 3 回答
- 0 关注
- 238 浏览
添加回答
举报
0/150
提交
取消