Lucas helps Marlins beat Phils 5-4 in 11 innings

Miami Marlins second baseman Ed Lucas, second from right, is doused with water by teammates after he hit a single in the 11th inning scoring Jeff Baker to defeat the Philadelphia Phillies 5-4 during a baseball game, Tuesday, July 1, 2014 in Miami. Teammates, from left, Henderson Alvarez, Tom Koehler and Marcell Ozuna. (AP Photo/Wilfredo Lee)
The Associated Press

Miami Marlins second baseman Ed Lucas, second from right, is doused with water by teammates after he hit a single in the 11th inning scoring Jeff Baker to defeat the Philadelphia Phillies 5-4 during a baseball game, Tuesday, July 1, 2014 in Miami. Teammates, from left, Henderson Alvarez, Tom Koehler and Marcell Ozuna. (AP Photo/Wilfredo Lee)

Philadelphia Phillies third baseman Cody Asche fields a ball hit by Miami Marlins' Henderson Alvarez during the fourth inning of a baseball game, Tuesday, July 1, 2014, in Miami. Alvarez was out at first to end the inning. (AP Photo/Wilfredo Lee)The Associated Press

Philadelphia Phillies third baseman Cody Asche fields a ball hit by Miami Marlins' Henderson Alvarez during the fourth inning of a baseball game, Tuesday, July 1, 2014, in Miami. Alvarez was out at first to end the inning. (AP Photo/Wilfredo Lee)

Miami Marlins' Henderson Alvarez delivers a pitch during the first inning of a baseball game against the Philadelphia Phillies, Tuesday, July 1, 2014, in Miami. (AP Photo/Wilfredo Lee)The Associated Press

Philadelphia Phillies' A.J. Burnett delivers a pitch during the first inning of a baseball game against the Miami Marlins, Tuesday, July 1, 2014, in Miami. (AP Photo/Wilfredo Lee)

Miami Marlins fan Jonathan Esponda, right, dances with Marlins' mascot "Billy the Marlin," after throwing out a ceremonial first pitch before the start of a baseball game between the Marlins and the Philadelphia Phillies, Tuesday, July 1, 2014, in Miami. Esponda gained notoriety when he was shown dancing during a game on the "fan cam." (AP Photo/Wilfredo Lee)The Associated Press

Miami Marlins fan Jonathan Esponda, right, dances with Marlins' mascot "Billy the Marlin," after throwing out a ceremonial first pitch before the start of a baseball game between the Marlins and the Philadelphia Phillies, Tuesday, July 1, 2014, in Miami. Esponda gained notoriety when he was shown dancing during a game on the "fan cam." (AP Photo/Wilfredo Lee)

Philadelphia Phillies shortstop Jimmy Rollins puts out Miami Marlins' Christian Yelich at second base on a hit by Derek Dietrich during the first inning of a baseball game, Tuesday, July 1, 2014 in Miami. (AP Photo/Wilfredo Lee)The Associated Press

Philadelphia Phillies shortstop Jimmy Rollins puts out Miami Marlins' Christian Yelich at second base on a hit by Derek Dietrich during the first inning of a baseball game, Tuesday, July 1, 2014 in Miami. (AP Photo/Wilfredo Lee)

Lucas' single drove home the winning run from second base with one out in the 11th Tuesday night, and Miami beat the Philadelphia Phillies 5-4.

The Marlins had lost their past three extra-inning games, each lasting at least 13 innings. They had been shut out for 15 consecutive extra-inning innings before Lucas' hit, according to STATS.

"After that kind of a streak, it starts to build and grate on you as a team, so it was nice to be able to finish one off," Lucas said. "We've been so close in the past. We just haven't been able to get the big hit when we needed to. So it's good to be able to dump one in there and get us out of here for once."

Miami broke a four-game losing streak, while the Phillies lost their fifth game in a row and dropped a season-worst 9½ games out of the NL East lead.

"It just seems like the games we're close to, we just don't win them," said the Phils' A.J. Burnett, who pitched six innings. "We've been in spots to win a lot of ballgames."

The Marlins extended another streak, winning their ninth consecutive game when Henderson Alvarez starts. That matched the longest such streak with a pitcher in franchise history.

"We need to get him to pitch every day," manager Mike Redmond said.

Alvarez allowed two runs in seven innings.

Pinch hitter Jeff Baker singled to start the 11th against Justin De Fratus (2-1), then advanced on a sacrifice. He scored without a play on an opposite-field hit by Lucas, who was sent into the game in the eighth because of his defense.

"We've had several opportunities to get that big hit," Redmond said. "It has been a little bit elusive late in the game, and tonight Eddie got one. That was big."

The Phillies overcame a 4-2 deficit in the eighth with back-to-back two-out homers by Marlon Byrd and Cody Asche off Kevin Gregg. Byrd clanked his 16th homer off the home-run sculpture, and two pitches later Asche pulled his fifth homer just inside the foul pole.

"The offense has been inconsistent, sporadic, and it has made it tough on the starting pitcher that day trying to be perfect," manager Ryne Sandberg said. "The bullpen has stepped up and done its job putting zeroes late in the game, only to come short on the offensive side of things a lot of the times."

The Marlins' Giancarlo Stanton singled home a run to increase his RBI total to 61, which leads the NL. Casey McGehee singled and scored and has reached base in 25 consecutive games.

Miami also scored on a strikeout against Burnett, who struck out 10 but allowed four runs, three earned.