curl_version

(PHP 4 >= 4.0.2, PHP 5)

curl_version -- Gets cURL version information

说明

array curl_version ( [int age] )

Returns information about the cURL version.

参数

age

返回值

Returns an associative array with the following elements:

version_numbercURL 24 bit version number
versioncURL version number, as a string
ssl_version_numberOpenSSL 24 bit version number
ssl_versionOpenSSL version number, as a string
libz_versionzlib version number, as a string
hostInformation about the host where cURL was built
age 
featuresA bitmask of the CURL_VERSION_XXX constants
protocolsAn array of protocols names supported by cURL