Answers for "how to check current version of php"

PHP
7

php get version

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

how to check php version in php

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

Code answers related to "how to check current version of php"

Browse Popular Code Answers by Language