How To Check the PHP Version using PHP Code ?

03-Apr-2023

.

Admin

Hi Guys,

Now let's see example of how to easily check the php version example. We will show phpversion() method to check current php version in your system. I am going to learn you how to check php current version in your system using php. You can easily to check your system in install php version.

The phpversion() method to check php version in php. Here I will give simple and easy way to check php version. So let's see the bellow example:

Example


<?php

echo 'Current PHP version is: ' . phpversion();

?>

It will help you....

#PHP