PHILADELPHIA (AP) This was a game even the Warriors felt they should have lost.
Klay Thompson had 32 points and Stephen Curry scored 23 for the Warriors, who nearly blew a 24-point second-half lead. Draymond Green added 10 points and 13 rebounds for Golden State, which opened a three-game road trip with its sixth straight victory while matching the NBA's best start through 47 games.
It ties the 1966-67 76ers, who also won 43 of their first 47.
''If the gods delivered what should have happened, we probably should have lost because that's what happens when you mess around with the game and the ball,'' Warriors coach Steve Kerr said.
Isaiah Canaan had 18 points to lead the 76ers, who dropped to 7-41 but nearly pulled off the most improbable victory of the NBA season.
''It shows we have no letdown, no backdown,'' Philadelphia coach Brett Brown said.
Philadelphia trailed by double-digits most of the second half until a late 15-2 run tied the game at 105 with 22.3 seconds left. The Warriors won it when Curry passed inside to Green, who fired outside to Barnes on the right baseline.
''We kind of went into it knowing they were going to trap Steph, so whoever it was that got the ball tried to make a play,'' Barnes said. ''(Green) made that kick to the corner. I just let it ride.''
Brown said the 76ers weren't going to let Curry get off a shot.
''Anybody but the MVP,'' he said.
The Warriors tied a franchise record with 26 assists in a dominating first half when they went up 73-54. They seemed on cruise control until Philadelphia's stunning rally.
Nerlens Noel made an alley-oop dunk and Smith 16-footer followed and, suddenly, the 76ers were within 103-99 with 1:01 left.
Following a timeout, Canaan converted a four-point play after hitting a 3 and being fouled by Curry to make it 105-103 with 38.6 remaining. Smith then stripped Curry and finished with a dunk to tie it. After Barnes' shot, Philadelphia was unable to get a final shot off after inbounding the ball at halfcourt.
Curry finished the half with a reverse layup that drew loud cheers from a Philadelphia crowd that made it look and sound more like a Warriors home game.
Curry's presence brought many unusual sights to the 76ers' home court. Most in the crowd who wore team gear were clad in Warriors logos. Golden State's players, especially Curry, were cheered loudly during pregame introductions while the 76ers were met with only tepid applause.
There's been hardly any buzz at 76ers home games this season, but there was a carnival-like atmosphere more than an hour before tipoff.
A yellow rope lined the outside of the court to keep fans at bay. There are generally a couple hundred fans watching warmups, but there were thousands ''oohing'' and ''aahing'' with cellphones recording every moment as Curry swished one 3-pointer after another.
Most of the time, there is ample room on press row to spread out. With Curry in town, there was overflow seating that forced some media members into the hockey press box in the balcony.
Green, who leads the NBA in triple-doubles with eight, added nine assists in his first game since being picked on Thursday to his first All-Star Game, where he will join fellow reserve Thompson and starter Curry as Warriors representatives.
Warriors: C Festus Ezeli (left knee) missed his second straight game. Coach Steve Kerr said Ezeli was day-to-day and could play on Sunday against the Knicks. ... G/F Andre Iguodala (rest) missed his first game of the season. ... Golden State improved to 21-4 on the road. .. The Warriors had 37 assists and have had at least 30 in each of their last six contests.
76ers: Eagles DE Vinny Curry and former Eagles RB Brian Westbrook were seated in the first row. ... Owner Josh Harris, seated next to the 76ers bench, made a rare appearance at a game. ... Tag Team performed their hit song ''Whoop! (There It Is)'' at halftime. ... G/F JaKarr Sampson returned after missing the last two games due to illness.
Warriors: At Knicks Sunday night.
76ers: Host Atlanta on Wednesday.