how to check php version pc 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(); ?>