Real Madrid, who had already sealed a place in the last 16 of the Champions League, ensured top spot in Group A with a remarkable 4-3 win over Shakhtar Donetsk.
Cristiano Ronaldo scored after 18 and 70 minutes while Luka Modric (50) and Dani Carvajal (52) also struck to put the 10-times European champions in complete command on a freezing night in western Ukraine.
The temperature then soared quickly, on the field at least, as Shakhtar netted three times in the closing stages.
Brazilian midfielder Alex Teixeira converted a penalty after 77 minutes before Dentinho chested the ball into the net from a corner.
Teixeira was again on target with an elegant drive in the 88th minute as the hosts gave Real a huge fright.
Real qualify for the knockout phase as Group A winners with PSG's 5-0 victory over Malmo confirming them as runners-up.
PSG striker Zlatan Ibrahimovic marked his return to his home town by striking the third goal against the club where he began his professional career before leaving for Ajax in 2001.
It was the first time the 34-year-old Sweden star had played a competitive match in Malmo since his departure and he paid for the game to be shown on a big screen in Stortorget, the city's main square.
Angel Di Maria scored twice and Adrien Rabiot and Lucas Moura were also on target for the French champions.
Mario Mandzukic scored the only goal as Juventus leapfrogged Manchester City to the top of Group D with a 1-0 win in Turin.
The Croatian struck after 18 minutes as the home side not only secured their place in the last 16 but put themselves in pole position to claim top spot.
The Italians were good value for their victory, with reported City target Paul Pogba outstanding, but the injury-hit visitors had a host of chances in an entertaining contest.
Also in Group D, Sevilla's hopes of reaching the next round ended in Germany with a 4-2 defeat to Borussia Monchengladbach.
Manchester United's chances of making the last 16 hang in the balance following a frustrating and disappointing goalless draw against PSV Eindhoven.
Wolfsburg are on the cusp of qualifying for the knock-out stage from Group B after winning 2-0 at CSKA Moscow.
Substitute Andre Schurrle scored the second having inspired an own goal from Igor Akinfeev earlier in the second half, securing three points in one of this season's most competitive groups.
Atletico Madrid made sure of their place in the knock-out stage with a comfortable 2-0 win against Galatasaray at the Vicente Calderon Stadium.
Antoine Griezmann scored a goal in each half as Diego Simeone's side extended their unbeaten run in all competitions to nine matches.
Raul Jimenez scored twice as Benfica fought back from two goals down to draw 2-2 with FC Astana in their Group C fixture and move to the brink of reaching the last 16.