"Thank goodness it doesn't count now," Hamels said.
The damage started in the second, when Hamels allowed four runs to hand the Dominican Republic a 4-0 lead. Hamels allowed a leadoff double to Hanley Ramirez before Miguel Tejada, Carlos Santana and Ricardo Nanita hit consecutive singles. Hamels retired Alejandro De Aza and Jose Reyes for two outs, but Robinson Cano and Edwin Encarnacion hit back-to-back singles to plate a couple of more runs.
Hamels finally struck out Nelson Cruz to end the inning, but not before everybody in the lineup had batted. Hamels allowed four more runs before being pulled in the third.
Phillies designated hitter Laynce Nix hit a solo home run to right field in the second.
Dominican Republic up next: The Dominican Republic will play the Yankees at 1:05 p.m. ET on Wednesday in Tampa, Fla. Jose Veras, Atahualpa Severino and Juan Cedeno are scheduled to pitch during a game that will air on MLB.TV.
Todd Zolecki is a reporter for MLB.com. This story was not subject to the approval of Major League Baseball or its clubs.