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