Expect maintenance of the streak to be this difficult from here on out. Everyone wants to be the team that ends the Heat’s run.

The Philadelphia 76ers were almost that team on Wednesday at Wells Fargo Center, ahead by three points against the defending champions with under four minutes to play, but LeBron James, Chris Bosh and Dwyane Wade each chipped in big plays in crunch time to preserve the winning streak.

The Heat’s 98-94 victory extended Miami’s winning streak to 20. The streak is now tied for the third-longest in NBA regular-season history.

Only the 1971-72 Lakers (33) and 2007-08 Rockets (22) have had longer streaks during the regular season.

“I welcome my teammates to the 20-club,” said Heat forward Shane Battier, who was on the Rockets team that won 22 in a row. “I’m going to teach everyone the secret handshake when we get on the team plane.”

Hopefully he did it before the plane taxied down the runway. Chances are his teammates were asleep by the time the wheels on the team plane lifted off for Milwaukee.

Home-away back-to-backs are always the most difficult and the Heat was dragging in the fourth quarter but flipping the switch in the final minutes.

Despite the demanding schedule of the NBA, the Heat (49-14) is now 10-1 on the second night of back-to-back games.

“It certainly was not pretty and not the way we necessarily scripted it down the stretch but we found a way to gut it,” Heat coach Erik Spoelstra said. “We pride ourselves on being a no-excuse team no matter what it is, whether it’s a tough schedule or whatever.”