Answers for "get php version from command line"

PHP
7

php get version

echo PHP_VERSION;
Posted by: Guest on June-02-2020
1

checking php version

<?php
echo 'PHP version: ' . phpversion();
?>
Posted by: Guest on February-12-2021

Code answers related to "get php version from command line"

Browse Popular Code Answers by Language