Xavier Edwards drove in the winning run with an 11th-inning sacrifice fly, Heriberto Hernández and Griffin Conine homered during a late rally and the Miami Marlins kept their playoff hopes alive with a 6-5 win over the Philadelphia Phillies on Tuesday night.
Hernández, who had three hits, homered with one out in the ninth inning off Philadelphia closer Jhoan Duran to force extras. Conine homered in the eighth inning off David Robertson to start the comeback in which Miami scored all of its runs from the eighth onward.
Miami won its seventh straight game and has won 11 of 12 to stay four games out of the last wild-card spot with five to play.
Josh Simpson (4-2) picked up the win by pitching 1 1/3 innings in relief. Lou Trivino (3-2) gave up the winning run.
Kyle Schwarber and Otto Kemp