(PHP 3, PHP 4 >= 4.0.0)
phpversion -- Gets the current PHP versionReturns a string containing the version of the currently running PHP parser.
Note: This information is also available in the predefined constant PHP_VERSION.
Example 1. phpversion() Example
|
See also version_compare(), phpinfo(), phpcredits(), php_logo_guid(), and zend_version().