Jake Gardiner and Nazem Kadri both had a goal in the game's first four minutes, and Mason Raymond scored the go-ahead goal in the third period for Toronto. Jonathan Bernier made 28 saves for his 24th victory.
Kimmo Timonen scored twice for Philadelphia, and Braydon Coburn tied the game late to force overtime. Steve Mason, who allowed two goals on the first four shots he faced, made 32 saves overall.
Toronto improved to 76 points, good for third place in the Atlantic Division. They are three points ahead of the Flyers.