PHP 数组函数 array_intersect_uassoc() PHP 数组函数 array_intersect_key() PHP 数组函数 array_intersect_ukey() PHP 数组函数 array_intersect_uassoc() <?php $input1 = array("a" => "green", "b" => "brown", "c" => "blue", "red"); $input2 = array("a" => "GREEN", "B" => "brown", "yellow", "RED"); $result = array_intersect_uassoc($input1, $input2, "strcasecmp"); print_r($result); ?> PHP 数组函数 array_intersect_key() PHP 数组函数 array_intersect_ukey()