how to check my computers version of php code example
Example 1: 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
Example 2: how to cheeck php
<?phpphpinfo(); ?>