Re: Function/variable to get PHP version from inside PHP (not PHPINFO)
| From: | Matt McClanahan | Date: | Thu, 28 Sep 2000 22:16:30 +0000 |
| Subject: | Re: Function/variable to get PHP version from inside PHP (not PHPINFO) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-17970@lists.php.net to get a copy of this message | ||
On Thu, 28 Sep 2000, Mark R. Cervarich wrote:
> Is there a function/variable available to get the PHP version you are
> using? Something like:
>
> echo $PHP_VERSION;
> echo PHP_VERSION();
> etc.
http://zend.php.net/manual/function.phpversion.php
Matt