SALVADOR, Brazil — France is striking at the World Cup again, this time in a way the fans back home will approve of.
Four years ago to the day, France’s players shamed the nation by going on strike at the last World Cup. On Friday, the team put on a striking attacking display, blowing Switzerland away with a 5-2 win on Friday to take total control of Group E and put themselves in position to avoid a showdown with Lionel Messi’s Argentina in the next round.
‘‘We were all magnificent tonight,’’ said goalkeeper Hugo Lloris, one of only four holdovers from the shambles of France’s last World Cup. ‘‘We can’t let ourselves get flooded by emotion and must stay calm. But we’re going to savor this.’’
Karim Benzema, Olivier Giroud, and winger Mathieu Valbuena each scored one goal and created another to underline both the newfound team spirit in this team and the lethal versatility in attack.
‘‘When you score five goals, it’s ecstasy,’’ Valbuena said.
France tops the group with 6 points, with Ecuador level on 3 points with Switzerland after beating Honduras, 2-1, Friday.
‘‘It was a great night for us. We hurt them with our quick attacks and with the variety of our play,’’ France coach Didier Deschamps said.
Giroud and Blasie Matuidi scored a minute apart and Valbuena added another before halftime.
Benzema made up for a first-half penalty miss with a poacher’s finish in the 67th, and then turned provider for Moussa Sissoko, who made it 5-0 in the 73d.
‘‘Karim is confirming that he’s in very, very good form,’’ Deschamps said. “He’s in great shape athletically.’’
Switzerland pulled two consolation goals back as Blerim Dzemaili scored with a free kick in the 81st and Granit Xhaka slotted in the second in the 87th.
Benzema thought he had scored his second — and the goal of the night — but his curling, first-time strike was ruled out because Dutch referee Bjorn Kuipers blew his whistle for full time just seconds before the shot.
‘‘I didn’t hear the whistle,’’ he said.
Friday marked the fourth anniversary of France’s infamous World Cup training ground strike four years ago in South Africa, when the players shamed a nation back home.
How different things look from 2010.
‘‘We have to carry on this way and to keep this strength, this irreproachable team spirit we have,’’ Valbuena said.
France has scored eight goals in two games in the tournament and Benzema could even afford to miss a penalty.
‘‘It’s a huge satisfaction within the team but we’re not going to get carried away,’’ Deschamps said. ‘‘We shouldn’t think we’re prettier than we are.’’
‘‘They can go very far in this tournament,’’ Switzerland coach Ottmar Hitzfeld said through a translator. ‘‘We have seen France’s potential. They had an explosion of power.’’