Answers for "check php version cmd"

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
0

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
Posted by: Guest on December-26-2020
1

check php version linux terminal

/* in terminal type it*/
php -v
Posted by: Guest on March-24-2021
1

how to check php version in php

<?php
  echo 'PHP version:' . phpinfo();
?>
Posted by: Guest on April-18-2021

Browse Popular Code Answers by Language