"red", "b"=>"green", "c"=>"blue", "d"=>"yellow"); $array2 = array("x"=>"black", "y"=>"BLUE", "z"=>"Red"); // Computing the intersection $result = array_uintersect($array1, $array2, "strcasecmp"); print_r($result); ?>