📅  最后修改于: 2022-03-11 14:53:50.677000             🧑  作者: Mango
代码示例1
$array_new = [];
foreach($array_two as $key)
{
if(array_key_exists($key, $array_one))
{
$array_new[$key] = $array_one[$key];
}
}