Actually, this is a super easy.
Download PHP windows binaries from https://windows.php.net/download/ for PHP 7.3, PHP 7.4 and PHP 8.0.
Put all of them under folders e.g.
Let’s choose PHP 7.4 as a default one, for others, take the
php.exe and rename them
Lastly, add all three folders into Windows
Path variable under:
Advanced system settings --> Environment Variables --> System variables.
Windows restart might be required.
Now you can call
$ php --version in command line which will outputs
PHP 7.4.XX (cli) ..
$ php80 --version will outputs
PHP 8.0.XX (cli) ..