check php version list code example Example: checking php version <?php echo 'PHP version: ' . phpversion(); ?>