JavaScript Editor Javascript debugger     Website design 


Gets cURL version information (PHP 4 >= 4.0.2, PHP 5)
array curl_version ( [int age] )

Returns information about the cURL version.



Return Values

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
featuresA bitmask of the CURL_VERSION_XXX constants
protocolsAn array of protocols names supported by cURL