Hunter Pence hit a two-run homer, snapping an 0-for-16 slump, and the Philadelphia Phillies went on to beat the Arizona Diamondbacks 8-5 on Tuesday night.

Laynce Nix and Shane Victorino also homered and Vance Worley scattered five hits over six innings for the Phillies, who ended a three-game losing streak.

Worley (2-1) walked one and struck out six for his second straight win and Jonathan Papelbon pitched the ninth for his sixth save.

The Phillies' eight runs were their most since an 8-2 win April 15 against the New York Mets. Philadelphia entered the game next-to-last in the majors with 48 runs scored.

Josh Collmenter (0-2) lost for the second consecutive outing, allowing a season-high six runs on nine hits over six-plus innings. He struck out six.

Jason Kubel hit his third home run in four games and Cody Ransom also homered for the Diamondbacks, who had won two straight after dropping five in a row.

The Phillies scored four in the fourth inning to take control early. Pence homered with one out just over the right-field fence, Ty Wiggington doubled and Nix followed with a long home run to right to give Worley a 4-0 lead with which to work.

Ransom led off the fifth with a solo home run to left, his first of the season, to pull Arizona within 4-1.

Then the offenses really got moving.

Nix and Brian Schneider singled to lead off the seventh, ending Collmenter's night. After a sacrifice bunt, Juan Pierre looped a fly ball to left off Brian Shaw and Kubel attempted a sliding catch. Second base umpire Angel Hernandez said Kubel had trapped the ball, loading the bases, though it appeared on replay that Kubel had made the catch and Diamondbacks manager Kirk Gibson briefly argued in vain.

Orr tripled into the right-field corner, clearing the bases to give the Phillies a 7-1 lead.

But the Diamondbacks answered against Jose Contreras.

Willie Bloomquist singled and scored on a pinch-hit double by Ryan Roberts, who snapped an 0-for-15 streak. Parra doubled to the right-center field gap, scoring Roberts, stole third uncontested and came home on a grounder to short by Justin Upton to make it 7-1.

Diamondbacks left-hander Mike Zagurski, who was called up from Triple A Reno earlier Tuesday, came on in the eighth and promptly surrendered Victorino's leadoff home run. Kubel homered in the bottom of the inning against Chad Qualls.

NOTES: Pence missed Monday's game with a sore left shoulder he injured Sunday while diving for a ball. . Wiggington extended his hitting streak to 10 games. . Before the game, the Diamondbacks recalled right-hander Joe Martinez and selected Zagurski's contract from Triple-A. To make room on the roster, the Diamondbacks optioned left-hander Joe Patterson to Reno and designated for assignment right-hander Jonathan Albaladejo. Patterson allowed 11 runs on 15 hits in 2 2/3 innings and did not retire any of the final seven hitters he faced across two outings. . LHP Cole Hamels will attempt to improve his 3-1 career record against the Diamondbacks in an afternoon getaway game against RHP Trevor Cahill. Cahill, acquired from the Oakland A's in December, allowed seven runs — four earned — in 5 2/3 innings against Atlanta on Friday.