PHILADELPHIA (AP) — Brain Anderson homered on his 28th birthday to back Trevor Rogers, who pitched five-hit ball for 7 2/3 innings and led the Miami Marlins over the Philadelphia Phillies 3-1 on Wednesday night.

Adam Duvall and Jazz Chisholm Jr. also drove in runs for the Marlins, who won for just the second time in five games.

READ MORE: Crash Involving SEPTA Bus, 4 Vehicles In Philadelphia's Cobbs Creek Neighborhood

Rogers (6-2) gave up five hits, including Andrew McCutchen’s sixth-inning homer. The 23-year-old rookie left-hander struck out eight and walked two. He has 104 strikeouts through 16 big league starts.

Yimi Garcia finished with two-hit relief for his eighth save in nine chances. Garcia stranded two when Andrew Knapp hit a game-ending flyout to the wall in right-center that was a few feet from winning it for the Phillies.

Zach Eflin (2-3) allowed two runs and six hits in six innings with six strikeouts and no walks. Philadelphia lost for the third time in four games.

Anderson hit a go-ahead home run leading off the second inning, driving a 93 mph sinker.

Eflin retired 12 of his next 13 batters before Miguel Rojas doubled leading off the sixth and scored on Duvall’s one-out single.

After McCutchen’s seventh homer, a drive just inside the left-field foul pole, the Marlins opened the seventh with three singles that loaded the bases off Brandon Kintzler, including Rogers’ first big league hit.

Chisholm greeted Sam Coonrod with a swinging bunt single that scored Garrett Cooper. Phillies manager Joe Girardi argued that Cooper left the baseline when catcher Knapp tried to apply the tag, but to no avail.

READ MORE: Woman Facing Arson Charges After Allegedly Intentionally Setting Fire At Howard Johnson Hotel In Blackwood

DEFENSE

The Phillies entered near the major-league average with 22 errors. In the first, Bryce Harper broke back on Duvall’s lazy ball that fell in front of the hard-charging right fielder for a single. The Marlins didn’t score in the frame, but it did force Eflin to throw additional pitches.

Girardi said prior to the game that Philadelphia’s defense needed to improve.

“Giving extra outs is a recipe for disaster,” he said. “The most precious commodity in the game is outs. You don’t want to give any away and don’t want to give any to the other team. Defense shows up when games are close. A lot of times it makes your starter throw more innings, and it magnifies a lot of different things.”

TRAINER’S ROOM

Phillies: C J.T. Realmuto (left wrist bone bruise) missed his third straight contest. … SS Didi Gregorius (right elbow), on the 10-day IL since May 14, took some ground balls prior to the game but didn’t throw.

UP NEXT

MORE NEWS: Taste With Tori: Wake Coffee Roasters' Unique Way Of Selling Coffee Makes All Extra Happy In Morning

The teams wrap up the three-game series on Thursday night, with Miami RHP Sandy Alcantara (1-3, 4.06) facing Phillies RHP Vince Velasquez (1-0, 3.68).