Answers for "know your php version"

PHP
1

checking php version

<?php
echo 'PHP version: ' . phpversion();
?>
Posted by: Guest on February-12-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