Jayson Werth hit a game-ending RBI single in the 12th inning and the Philadelphia Phillies beat the Arizona Diamondbacks 6-5 Friday night in a matchup of NL division leaders.

Werth and Shane Victorino had three hits apiece for the Phillies, who have won three straight. Victorino tied it at 5 with a two-run triple off Tony Pena in the ninth inning.

So Taguchi led off the 12th with a single to left for Philadelphia. Chris Coste then sacrificed him to second and Connor Robertson (0-1) intentionally walked Jimmy Rollins to get to Werth, who singled to center.

Rudy Seanez (4-3) pitched a scoreless 12th to earn the win.

Ryan Howard hit his major league-leading 28th home run for the Phillies, extending his hitting streak to a season-high 14 games with a drive to left-center off Doug Davis in the second inning.

The West-leading Diamondbacks were extended to extra innings for the second straight game after winning 7-5 in 11 innings at Washington on Thursday.

Arizona erased a 3-1 deficit with three runs in the seventh. Pinch-hitter Emilio Bonifacio had a two-run single and Stephen Drew drove in the go-ahead run with a base hit.

Davis allowed three runs and five hits in six innings. It was his 10th start since returning to the mound following surgery on April 10 to remove a cancerous thyroid.

Kyle Kendrick yielded four runs and nine hits in 6 1-3 innings for the East-leading Phillies.

Arizona's Chad Tracy tied it at 1 with an RBI single in the sixth. He has hit safely in nine of his last 10 games.

Notes:@ Arizona 3B Mark Reynolds was held out of the starting lineup after committing three errors in Thursday's win at Washington. Reynolds has committed a major league-worst 19 errors this season. Reynolds did appear as a pinch hitter in the 11th.