3, "x"=>8, "4"=>13); // Computing the difference $result = array_diff_key($array1, $array2); print_r($result); ?>