PHILADELPHIA (AP) - The San Francisco Giants barely avoided being swept by the Phillies.
Denard Span homered leading off the 10th inning, and the Giants beat Philadelphia 3-2 Thursday for just their fifth win in 14 games since the All-Star break.
"We played them tough this series," Phillies manager Pete Mackanin said. "We didn't quit. We came from behind I don't know how many times. I think we're growing up little by little. Every time you, not only beat a team, but, when you play them tough, it matters. ... These guys are no pushover. They battle. They battle to the end. That's what I like about the team."
San Francisco has not been swept by Philadelphia in 10 years.
"These guys have been hard on us," Giants manager Bruce Bochy said. "It's good to get out of here with a win."
Span led off the 10th by sending a 2-2, 95 mph fastball from Severino Gonzalez (0-2) just inside the right-field foul pole, his third hit of the game.
"I was just trying to protect," he said. "I felt good this series and want to build off this."
Sergio Romo (1-0) earned the win without getting an out. Cesar Hernandez was caught stealing for the final out of the ninth when he overslid the base while Romo was facing his first batter.
"We were disappointed in that," Mackanin said. "He stole that base easily and slid past the bag and we've addressed that at length with him because he has a tendency to do that."
Santiago Casilla pitched a 1-2-3 10th for his 25th save in 30 chances.
Philadelphia starter Vince Velasquez gave up two runs and three hits in five innings.
Brandon Crawford hit an RBI single in the first, but Aaron Altherr's run-scoring double tied the score in the bottom half. Span hit a sacrifice fly in the fifth.
San Francisco put runners on first and second with no outs in the eighth. Brett Oberholtzer got three straight outs, the last on Altherr's diving catch on Brandon Belt's sinking liner to center.
Matt Moore made his first start for the NL West leader following his acquisition Monday from Tampa Bay. He allowed two runs and three hits in six innings and walked six — matching his major league high.
Moore gave up one hit through five innings and took a 2-1 lead into the sixth, when Freddy Galvis grounded into a forceout with the bases loaded. Moore then threw a called third strike past pinch-hitter Taylor Featherston.
Giants: RHP Jeff Samardzija (9-7, 4.30) takes the mound for San Francisco when the Giants open a three-game series at NL East-leading Washington on Friday night.
Phillies: Philadelphia begins a six-game trip on Friday night in San Diego when RHP Jeremy Hellickson (8-7, 3.70) faces LHP Christian Friedrich (4-6, 4.72).