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