PHILADELPHIA (AP) — Joel Embiid had 24 points and 10 rebounds, Ben Simmons got his second triple-double in his last three games, and the Philadelphia 76ers snapped out of a funk to beat the New York Knicks 131-109 on Wednesday night.

Simmons had 13 points, 11 rebounds and 10 assists. Jimmy Butler added 20 points and Landry Shamet had a career-high 17 off the bench for the Sixers (21-12), who shot 53.4 percent from the field and 50 percent from 3-point range.

Philadelphia had lost three of four, including a lopsided defeat in San Antonio on Monday.

Tim Hardaway Jr. scored 27 points and Kevin Knox had 21 for the Knicks (9-24), who have lost three straight and eight of their last nine. Emmanuel Mudiay, averaging 20 points per game in his previous nine contests, was held to 11 points on 3-of-12 shooting.

The Sixers were clicking offensively from the start, scoring 38 points on nearly 70 percent shooting in the first quarter, capped by a four-point play from Furkan Korkmaz. They led by as many as 14 in the first half and took a 69-61 lead into halftime, though the Knicks closed the half on a highlight-reel alley oop from Hardaway to Knox.

After the Knicks cut Philly’s lead to three early in the third, Embiid and Simmons had back-to-back one handed slams to get the home crowd going and help the Sixers pull away.

TIP-INS

Knicks: Coach David Fizdale said Hardaway, the team’s top scorer who missed the Knicks’ last game, has been dealing with plantar fasciitis but added that he has no thoughts of shutting him down. … The Knicks were without Mitchell Robinson (sprained left ankle) and Allonzo Trier (strained left hamstring). … Damyean Dotson had 14 points off the bench after missing the last two games with a sore shoulder.

76ers: Some of the loudest cheers came before the game when Hall of Famer Julius Erving rang the ceremonial bell. … Redick scored his 10,000th career point, becoming the 47th active NBA player to reach such a milestone. … The Sixers had their best shooting first half of the season (58.7 percent). … Simmons’ triple-double was his fourth of the season and 16th of his career.

UP NEXT

Knicks: Host Atlanta on Friday night.

76ers: Host Toronto on Saturday night.

(© Copyright 2018 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)