Page 1 of 1

How to get PHP version?

Posted: Sat May 26, 2007 12:57 pm
by toasty2
Using PHP, how can you get the PHP version? Or is it not possible?

Posted: Sat May 26, 2007 12:59 pm
by volka
Take a look at http://de2.php.net/ref.info , scroll down to Table of Contents
You will find the name of the function is all to obvious ;)

Posted: Sat May 26, 2007 12:59 pm
by bdlang

Posted: Sat May 26, 2007 6:05 pm
by Ollie Saunders
There's also the constant PHP_VERSION which doesn't have the overhead of a function call.