PHILADELPHIA (AP) -- Brett Myers seemed on his way to another short outing after a shaky first inning. A reliever was warming up, the crowd was booing and Myers didn't feel right.
"It made me lock it in even more," Myers said.
Myers (3-6) allowed three runs and six hits in eight innings, striking out a season-high 11. Myers, the Phillies' opening-day starter, hadn't won since beating Houston on April 17. He lost his previous five decisions.
Myers' return to the starting rotation after a successful stint as a closer last year hasn't gone smoothly. But the hard-throwing right-hander has improved his last three outings and seems close to being back on track. He settled in after a rough first and retired 14 of 16 at one point, including five straight strikeouts.
"It's definitely easier to pitch with a lead, but I'm struggling," Myers said. "I was out there to get my stuff right."
Myers was bothered by tightness in his right hip during the first inning. He got it straightened out between innings and then loosened it up going from first to home on Shane Victorino's two-run double in the second.
Philadelphia scored seven off Mark Hendrickson (7-3) in the second and chased the left-hander with four more in the fourth. Hendrickson lasted just 3 2/3 innings, allowing 10 runs and seven hits.
"Tonight was an all-around bad performance and it started with me," Hendrickson said.
The Phillies, who led the league in runs the previous two seasons, have scored 60 in the last five games. Only the Chicago Cubs have more runs this season.
"It's ridiculous," Myers said. "I feel bad for anybody that has to pitch against us right now."
Coste connected with two on in the second to tie it at 3. Coste, who didn't reach the majors until he was 33 years old, is batting .341 with five homers and 16 RBIs in 91 at-bats.
Victorino's two-run double to left-center put the Phillies ahead to stay at 5-3. Utley then ripped a liner into the right-field seats for a 7-3 lead.
Marlins shortstop Hanley Ramirez left with a bruised thumb in the fifth after getting hit by Victorino's liner an inning earlier. X-rays were negative and Ramirez's status for Saturday's game is unknown.
"I can't squeeze my thumb right now," Ramirez said. "We'll see how it feels tomorrow."
Myers got better the longer he pitched. He struck out the side in the eighth and fanned five of the last six batters he faced.
"That little bit of a grin was back for Brett," Coste said. "You can see that look in a guy's eyes when they know they're doing well."
Hendrickson was a second-round draft pick by the NBA's Philadelphia 76ers in 1996 and ended up playing 114 games for four teams before pursuing baseball.
Victorino extended his hitting streak to a career-high 11 games. ... The left-handed hitting Utley has nine homers against left-handers, tops in the majors. Utley has 12 RBIs in the last four games. ... Coste is batting .351 (20-for-57) with five homers and 18 RBIs against the Marlins. ... The Phillies are 12-4 against left-handers in the last 16 games, 14-7 overall. ... It was Myers' 10th career double-digit strikeout game, second this season.