Portugal coasted to a 4-0 win over New Zealand in St Petersburg to secure their place in the Confederations Cup semifinals.
The win, however, came at a cost as Manchester City-bound midfielder Bernardo Silva was substituted because of an ankle injury.
With hosts Russia losing against Mexico in Kazan, Portugal progressed as Group A winners, while the All Whites finished bottom following a third straight defeat.
Captain Cristiano Ronaldo put Portugal ahead from the penalty spot on 33 minutes, his 75th goal for Portugal, bringing him level with Sandor Kocsis in second place on the list of Europe’s highest international goal scorers.
Andre Silva wrapped up a comfortable victory with a fierce angled finish on 80 minutes, and Nani added a fourth in stoppage time.