"apple", "b"=>"ball", "c"=>"cat", "dog"); $array2 = array("A"=>"APPLE", "B"=>"ball", "C"=>"camel"); // Computing the difference $result = array_diff_uassoc($array1, $array2, "strcasecmp"); print_r($result); ?>