phpversion Gets the current PHP version &reftitle.description; stringphpversion stringextension Returns a string containing the version of the currently running PHP parser or extension. &reftitle.parameters; extension An optional extension name. &reftitle.returnvalues; If the optional extension parameter is specified, phpversion returns the version of that extension, or &false; if there is no version information associated or the extension isn't enabled. &reftitle.examples; <function>phpversion</function> example ]]> <constant>PHP_VERSION_ID</constant> example and usage ]]> &reftitle.notes; This information is also available in the predefined constant PHP_VERSION. More versioning information is available using the PHP_VERSION_* constants. &reftitle.seealso; PHP_VERSION constants version_compare phpinfo phpcredits php_logo_guid zend_version