2, "lion"=>5, "zebra"=>8); $array2 = array("CAT"=>3, "FOX"=>1, "LION"=>5, "WOLF"=>7); // Computing the intersection $result = array_diff_ukey($array1, $array2, "strcasecmp"); print_r($result); ?>