phpversion Gets the current PHP version Description stringphpversion Returns a string containing the version of the currently running PHP parser. This information is also available in the predefined constant PHP_VERSION. <function>phpversion</function> example ]]> See also version_compare, phpinfo, phpcredits, php_logo_guid, and zend_version.