$a= [ ['id'=>1,'age'=>12], ['id'=>2,'age'=>13], ['id'=>3,'age'=>15] ];
$b= [ ['id'=>1,'money'=>100], ['id'=>3,'money'=>400], ['id'=>2,'money'=>200] ];
怎么按照id值匹配合并到一个数组中,形成这样。
$c=[ ['id'=>1,'age'=>12,'money'=>100], ['id'=>2,'age'=>13,'money'=>200], ['id'=>3,'age'=>15,'money'=>400] ];
江户川乱折腾
忽然笑