XAMPP: php -v opens in php.exe window instead of command prompt

I installed xampp… And strangely, when I do php -v I am directed to another window than the cmd one, in php.exe

I’m trying to be able to communicate with php using the command prompt in order to be able to install composer and everything else…