check if i have php installed 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(); ?>