how to see php version used on my machine code example
Example 1: php get version
echo PHP_VERSION;
Example 2: how to get php version in xampp
Open command prompt
Locate directory using cd C:/Xampp/php
Type command php -v
You will get your php version details