Those wondering if the four-day All-Star break would have an adverse effect on the momentum that the Phillies had gained in a seven-win homestand before the break got an early answer Friday night.

It had no effect.

The Phils came out with guns blazing. They scored 11 runs in the first three innings en route a 13-8 win over the New York Mets at Citi Field.

The final score probably should not have been that close, but Kyle Kendrick, the beneficiary of an early 11-0 lead, seemed to wilt in the 95-degree heat and had trouble putting away hitters in the middle innings.

Nonetheless, it was a win for a team that can’t afford anything less as it tries to convince management to keep the team together with the July 31 non-waiver trade deadline fast approaching.

“Obviously, I needed all those runs,” Kendrick said. “I felt good early, but I missed over the plate a lot in the middle innings. The offense picked me up. I’ll take the win.”

The victory was the Phillies’ 10th in 14 games in July. It moved them to a game over .500 for just the second time this season and propelled them past the Washington Nationals into second place in the NL East. The Phils lead the Nats by a half-game. They trail first-place Atlanta by 6½.

The Phils still have a long way to go before they can be considered serious contenders. But some good things are happening.

“Even though we weren’t having the success we needed, we always looked good on paper,” said Domonic Brown, one of three Phillies to belt a home run in Friday night’s win. “I thought it was just a matter of time before good things would come together. You never know in this game. It keeps you humble. It keeps you fighting. So we’ll just continue to do that.”

In addition to Brown, who hit his 24th homer in the third inning, the Phils got a two-run homer from Chase Utley and a three-run shot from Michael Young.

The Phils did most of their damage against Mets’ right-hander Jeremy Hefner, who allowed 10 hits and eight runs and did not get an out in the third inning.