how to check the version of php with windows code example Example: checking php version <?php echo 'PHP version: ' . phpversion(); ?>