MIAMI - The Philadelphia Phillies were a longshot to make the playoffs.

Their hopes came to a halt Friday following a 2-1 loss to the Miami Marlins eliminating them from playoff contention.

"It's disappointing," Phillies starter Cliff Lee said. "I think everyone here could agree with that. We expected to win this division, make the postseason and win the World Series ultimately. Obviously that's not going to happen now."

Carlos Lee's game-winning single in the bottom of the ninth inning lifted the Marlins to the win, snapping a season-high seven-game losing streak and preventing the Phillies from reaching the postseason for the first time in six years.

"That was a matter of time," Phillies manager Charlie Manuel said. "Right now we're kind of dragging, but that's no excuse for us not to score some runs."

The Phillies overcame a horrible first half - a 37-50 record at the All-Star break - and got within three games of St. Louis for the second National League wild-card spot. But they lost five of the next six to fall out of the chase.

"We got ourselves in a pretty big hole early," Cliff Lee said. "It was too big of a hole to dig ourselves out of. We played really well in the second half, made our season definitely more respectable, but considering how bad we were in the first half, we were very fortunate to be where we were these past few weeks."

Bryan Petersen began the ninth with a double to right field off Josh Lindblom (3-4).

"We thought that Lindblom could get that guy out," Manuel said. "He had him 0-2 and he ended up getting ahead, a guy that's hitting .205 against righties."

Jose Reyes grounded out and Giancarlo Stanton was intentionally walked, setting up Carlos Lee's at-bat. Lee lined a single to left-center field, scoring Petersen from second as Laynce Nix's throw to home was off-line for the Marlins' eighth walk-off win of the season.

"As soon as I hit it, I knew it was over the shortstop's head and the game was over," Carlos Lee said.

Steve Cishek (5-2) pitched one inning in relief for the win.

"We've got to give our fans our best effort," Carlos Lee said. "We know we're out of it, but they deserve the best from us."

Cliff Lee allowed one run and three hits in seven innings while striking out five and not allowing a walk. He is 4-1 with a 1.07 ERA in his last seven starts.

"It's one of those things where you have to give Buehrle some credit there. He kept us from scoring a run until J-Roll came through with two outs there in the eighth," Cliff Lee said. "That was a big hit by him, but Buehrle got it done. There's a reason why he's been throwing as long as he has."