Boldy tied it 2-2 at 14:41 with a wrist shot from just above the left circle, extending his point streak to seven games (12 points; eight goals, four assists).
Foligno put the Wild ahead 3-2 at 18:16 with a shot from the right circle.
Ristolainen tied it 3-3 with a power-play goal at 19:37.
Boldy gave Minnesota a 4-3 lead at 13:32. Hart had reached high for a blocker save on Jonas Brodin's point shot, but the puck landed at his feet. Boldy got to it and, with his back to the goal, backhanded the puck between the skates of Philadelphia defenseman Ivan Provorov and under Hart.
"They've got nothing to lose and you're trying to climb the standings," Foligno said. "I've been on teams like that and you can beat some teams late. It's got to come down to character and leadership and understand that we have to play the right way no matter what the circumstances are."
NOTES: Minnesota defenseman John Klingberg was scratched because of an upper-body injury. "Hopefully we'll get him back in a couple of days," Evason said. ... Boldy's second goal was his 40th in the NHL. At age 21 years, 352 days, he's the second-youngest Wild player to reach the mark (Marian Gaborik; 20 years, 22 days). … Philadelphia forward Nicolas Deslauriers took the warmup but did not play because of an upper-body injury. He is day to day. ... The Flyers went 3-for-3 on the penalty kill after allowing at least one power play goal in each of their previous seven games. … Tortorella is 700-573-144 with 37 ties in 1,454 games with the Tampa Bay Lightning, New York Rangers, Vancouver Canucks, Columbus Blue Jackets and Flyers.