MIAMI — Emmanuel Rivera hit a game-winning pinch-hit single in the 10th inning and the Miami Marlins beat the Philadelphia Phillies 7-6 Sunday. Rivera’s hard grounder deflected off the glove of Phillies reliever Gregory Soto (0-1) and into right field, scoring automatic runner Nick Fortes from second. Jazz Chisholm Jr. doubled and tripled while Josh Bell homered for the Marlins, who snapped a five-game losing skid and began Sunday with a major league-worst 10-31 record. Anthony Bender (1-2) pitched a scoreless top of the 10th around two walks. Down 6-3, Philadelphia tied it on Edmundo Sosa’s two-run triple and Brandon Marsh’s sacrifice fly against Miami reliever Andrew Nardi in the sixth. Phillies starter Zack Wheeler gave up a season-high six runs and was lifted after four innings.