PHILADELPHIA -- The Philadelphia Phillies are getting used to this walk-off thing.
The Phillies beat the Arizona Diamondbacks 4-3 in the ninth inning on Friday night for their third consecutive victory in their final at-bat.
With the bases loaded and one out in the bottom of the ninth, Chase Utley -- batting with a full count and the fans on their feet -- walked to bring in the winning run.
The Phillies came back after trailing 3-1 in the sixth. The red-hot Carlos Ruiz -- who entered the game with 10 hits in his last 16 at-bats -- knotted the score with a two-run double before Utley's finale.
Jonathan Papelbon picked up the win with a scoreless ninth. Heath Bell took the loss.
Arizona starter Wade Miley and Philadelphia starter Cole Hamels were two of the hottest pitchers in the National League, with ERAs of 2.04 and 2.05, respectively, since July 1. Both pitched well enough to win but left with no-decisions.
Miley gave up three runs, five hits and two walks with two strikeouts in six innings. Hamels worked seven innings and allowed three runs, six hits and one walk with four strikeouts.
The Phillies (58-70) have won five of their last six. The Diamondbacks (65-62) have lost four of their last five after winning eight of their previous 11.
On a 1-0 pitch in the second inning from Miley, right fielder Darin Ruf smoked a solo homer to left-center field to stake the Phillies to a 1-0 lead.
The Philadelphia lead did not last long as Arizona answered in its half of the fourth.
Adam Eaton led off the inning and was hit by a pitch from Hamels. Hamels then induced Paul Goldschmidt to lift a routine fly ball to left field, but Domonic Brown never located the ball in the air and it fell for a double. Martin Prado made the Phillies pay with a two-run double to deep left-center field.
Matt Davidson delivered an RBI single to score Prado and put the Diamondbacks ahead 3-1.
NOTES: Diamondbacks 2B Aaron Hill doubled in the second inning. He has hit safely in 15 of his last 16 games. ... Ruf's home run was his eighth during August, tying him for the most in baseball. ... Hamels allowed three runs or more for the first time since July 20. ... Phillies RHP Tyler Cloyd is scheduled to start Sunday's game against the Diamondbacks. ... Jimmy Rollins and Cody Asche received the night off for the Phillies. ... Prado is hitting .364 in the second half and .378 in his past 20 games. ... Diamondbacks RHP Randall Delgado (4-4, 3.82) opposes Phillies RHP Ethan Martin (2-2, 5.23) on Saturday night.