Wersja PHP nie aktualizuje się po pliku Windows Env

You can uninstall composer, and while re-installing it will ask you to point 
at your PHP directory which is going to be C:\wamp64\bin\php (usually) at 
that point you can choose which PHP version you would want to use. good 
luck.
Lokesh003Coding