How to check PHP version number

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
master_techi
Forum Newbie
Posts: 3
Joined: Thu Nov 25, 2010 2:55 pm

How to check PHP version number

Post by master_techi »

Info is provided on the link below

cheers :D

http://www.geeksww.com/tutorials/web_de ... number.php
User avatar
greyhoundcode
Forum Regular
Posts: 613
Joined: Mon Feb 11, 2008 4:22 am

Re: How to check PHP version number

Post by greyhoundcode »

It's also possible to use the PHP_VERSION constant:

Code: Select all

echo PHP_VERSION;
Post Reply