"apple", "b"=>"ball", "c"=>"cat", "dog"); $array2 = array("a"=>"apricot", "c"=>"cat"); $array3 = array("a"=>"apple", "b"=>"banana"); // Computing the difference $result = array_diff_assoc($array1, $array2, $array3); print_r($result); ?>