how to check php version in windows 10 code example Example: how to check php version in php <?php echo 'PHP version:' . phpinfo(); ?>