Hunter Pence hit a two-run homer, Hector Luna had three RBIs and the Philadelphia Phillies beat the Miami Marlins 6-4 on Friday night.
Pence, Carlos Ruiz and Placido Polanco each had three hits as the Phillies won for the seventh time in nine games. Jonathan Papelbon got five outs for his 15th save in 15 chances.
Logan Morrison and Justin Ruggiano homered for the Marlins, who had won three straight. Miami had 13 hits and left 12 runners on base.
The Marlins brought the tying run to the plate in the ninth but center fielder John Mayberry Jr. made an acrobatic catch on pinch-hitter Greg Dobbs' fly ball to end the game. Mayberry got turned around the wrong way, but reached out to snare the liner just in front of the warning track before rolling to his back.
Kyle Kendrick (2-4) allowed eight hits in 5 1-3 innings, but held Miami to two runs. The right-hander, who was coming off a seven-hit shutout against St. Louis on Monday, struck out four and walked three.
Mark Buehrle (5-5) gave up four runs and a season-high 11 hits in five innings for the Marlins. The left-hander was 4-0 with a 3.19 ERA in his previous five starts.
Luna hit a run-scoring double in the seventh to give the Phillies a 6-2 lead. But Morrison and pinch-hitter Ruggiano started the eighth with consecutive home runs against left-hander Antonio Bastardo.
Morrison drilled an 0-2 pitch to deep right before Ruggiano belted the next pitch over the wall in left-center for his first homer of the season in his second at-bat with Miami.
Bastardo walked the next batter, John Buck, and was replaced by Jake Diekman. The left-hander struck out Chris Coghlan, then gave up consecutive singles to load the bases before being relieved by Papelbon.
After getting Omar Infante to pop out to shortstop, Papelbon struck out Hanley Ramirez looking. Ramirez reacted angrily to the called third strike, barking at umpire Kerwin Danley and tossing his equipment behind home plate.
The game was delayed by rain for 48 minutes in the top of the fifth inning.
Luna hit a two-out, two run single in the first and Pence connected in the fifth to help Philadelphia build a 4-1 lead.
Giancarlo Stanton, who had 12 homers and 30 RBIs while hitting .343 in May, staked Miami a 1-0 lead with a run-scoring double in the first.
The Marlins loaded the bases in the third and fourth, but failed to score. Morrison grounded into an inning-ending 3-6-1 double play in the third, and Infante lined out to Kendrick to end the fourth.
Philadelphia right-hander Jose Contreras left in the seventh with right elbow soreness. The 40-year-old Contreras was making his 17th appearance since offseason surgery on his right elbow.
After throwing his fifth pitch of the inning, an 89 mph fastball, Contreras grabbed his right arm and staggered to the ground on the grass between first and second before leaving the game.
NOTES: Miami SS Jose Reyes went 3 for 4, extending his hitting streak to 12 games. . Philadelphia OF Shane Victorino was not in the starting lineup for the first time this season after receiving a cortisone shot Friday to relieve discomfort in his right hand. Victorino entered as a defensive replacement in the eighth. . Phillies RHP Vance Worley, on the DL with inflammation in his right elbow, threw a bullpen session and could start Monday's game against the Dodgers. . Phillies slugger Ryan Howard said he is making progress in his rehabilitation from an Achilles tear that has sidelined him all season. . Marlins RHP Ricky Nolasco (5-3, 4.26) is scheduled to face Philadelphia LHP Cole Hamels (8-1, 2.43) on Saturday afternoon.