PHILADELPHIA (AP) -- With one of baseball's worst offenses, the Phillies can't afford to give away outs the way they did Friday night.

Philadelphia Phillies' Jerome Williams pitches during the first inning (AP Photo/Matt Slocum)

Ben Revere was called out on an odd double play, ending a Philadelphia threat in the seventh inning, and Buster Posey hit one of three Giants home runs as San Francisco snapped a five-game skid with a 5-4 victory over the Phillies.

Posey broke a 4-4 tie with his ninth homer of the season with two outs in the seventh off Luis Garcia (2-2). Posey finished 2 for 4, breaking out of a 4-for-28 slump. Clearly, Posey is very comfortable at Citizens Bank Park: he is now a .400 career hitter there.

"Just looking for a pitch I could handle and get the barrel on it," he said.

The Phillies' threat in the bottom of the frame was put out by a rare double play. With runners on first and third and one out, Jeff Francoeur flied out to shallow right. Ben Revere took off from first on the pitch and reached second base, apparently thinking the ball was going to fall in, but failed to touch second base on the way back to first. The Giants appealed the play and Revere was called out.

Phillies manager Ryne Sandberg suggested that Revere didn't know the rule.

"He went right over the top (of the base)," Sandberg said. "I don't know that he knew he has to do that."

Revere, though, said he knew the rule and just missed the bag.

"I was trying to get my butt back to (first base)," he said. "I thought I put my foot on the bag, but it was a half-inch. That's all it takes. In that situation, I tried to get back as quick as possible. It's unfortunate."

The Giants certainly knew the rule.

"Everybody was yelling, especially (pitching coach Dave Righetti)," Giants manager Bruce Bochy said. "It was a good call."

Ryan Howard and Maikel Franco homered for Philadelphia, which has lost nine of 11.

Right-hander Jerome Williams started for Philadelphia and matched his shortest outing of the season, giving up four runs on nine hits in 4 1/3 innings with two strikeouts and no walks.

"Those two homers kind of hurt," he said. "It's about location, that's the main thing. I still think I can get those guys out."

Matt Duffy and Justin Maxwell also homered and Joe Panik contributed two hits with a double for the Giants, who won their fourth straight on the road and 10th in the last 13 in Philadelphia. San Francisco opened a six-game road trip.

"It was a good win because we've come off a tough skid at home," Bochy said. "It's always good to get that first game of a road trip."

The defending World Series champions spent Thursday's off day visiting the White House for the third time in five years. Right-hander Tim Lincecum didn't make the trip to Washington, instead flying by himself from San Francisco to Philadelphia to be fully rested for Friday's start.

Lincecum (6-3) didn't have his best stuff, but was good enough, allowing four runs on five hits in six innings, with four strikeouts and two walks.

Santiago Casilla pitched a 1-2-3 ninth for his 16th save in 19 opportunities.


Duffy dived into the stands and made a highlight-reel catch, falling halfway over the railing just past the third-base dugout, for the second out in the ninth.

"He has a great attitude," Bochy said. "He's handled everything we've asked of him. It's hard to keep him out."


It was the third homer in four games for Franco, who is batting .412 with seven RBIs over that stretch.

"Franco continues to show pop in his bat," Sandberg said.


Giants: OF Nori Aoki (flu) wasn't in the starting lineup, but was available to pinch-hit. Aoki entered leading the majors with a road batting average of .386. OF Hunter Pence (wrist) missed his second straight game. RHP Jean Machi (left groin) was placed on the 15-day DL, and 3B Casey McGehee was recalled from Triple-A. McGehee struck out pinch-hitting in the seventh.

Phillies: Sandberg rested healthy INF Freddy Garcia, mired in an 0-for-26 slump.


Giants: LHP Madison Bumgarner (6-2, 3.12) looks to continue his success against Philadelphia when he takes the mound Saturday afternoon. Bumgarner is 2-2 with a 2.57 ERA in five careers starts against the Phillies and allowed one earned run in 15 innings over two starts last season.

Phillies: RHP Severino Gonzalez (2-1, 6.88) makes his fifth career start and first against the Giants. Gonzalez had an up-and-down outing in his last start, striking out eight and walking none but giving up two home runs and three runs in 4 1/3 innings in a 6-3 loss to the Mets on May 25.


(© 2015 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed)