curl_version

(PHP 4 >= 4.0.2, PHP 5, PHP 7) Gets cURL version information array curl_version ([ int $age = CURLVERSION_NOW ] ) Returns information about the cURL version. Parameters: age Returns information about the cURL version. Returns: Returns an associative array with the following elements: Indice Value description version_number cURL 24 bit versio

curl_unescape

(PHP 5 >= 5.5.0, PHP 7) Decodes the given URL encoded string string curl_unescape ( resource $ch, string $str ) This function decodes the given URL encoded string. Parameters: ch A cURL handle returned by curl_init(). str The URL encoded string to be decoded. Returns: Returns decoded string or FALSE on failure

curl_strerror

(PHP 5 >= 5.5.0, PHP 7) Return string describing the given error code string curl_strerror ( int $errornum ) Returns a text error message describing the given error code. Parameters: errornum One of the » cURL error codes constants. Returns: Returns error description or NULL for invalid error code.

curl_share_setopt

(PHP 5 >= 5.5.0, PHP 7) Set an option for a cURL share handle. bool curl_share_setopt ( resource $sh, int $option, string $value ) Sets an option on the given cURL share handle. Parameters: sh A cURL share handle returned by curl_share_init(). option Option Description CURLSHOPT_SHARE Specifies a type of data that should be shared.

curl_share_init

(PHP 5 >= 5.5.0, PHP 7) Initialize a cURL share handle resource curl_share_init ( void ) Allows to share data between cURL handles. Returns: Returns resource of type "cURL Share Handle". Examples: curl_share_init() example This example will create a cURL share handle, add two cURL handles to it, and then run them with c

curl_share_close

(PHP 5 >= 5.5.0, PHP 7) Close a cURL share handle void curl_share_close ( resource $sh ) Closes a cURL share handle and frees all resources. Parameters: sh A cURL share handle returned by curl_share_init() Returns: No value is returned. Examples: curl_share_setopt() example

curl_setopt

(PHP 4 >= 4.0.2, PHP 5, PHP 7) Set an option for a cURL transfer bool curl_setopt ( resource $ch, int $option, mixed $value ) Sets an option on the given cURL session handle. Parameters: ch A cURL handle returned by curl_init(). option The CURLOPT_XXX option to set. value The value to be set on optio

curl_setopt_array

(PHP 5 >= 5.1.3, PHP 7) Set multiple options for a cURL transfer bool curl_setopt_array ( resource $ch, array $options ) Sets multiple options for a cURL session. This function is useful for setting a large amount of cURL options without repetitively calling curl_setopt(). Parameters: ch A cURL handle returned by curl_init(). options A

curl_reset

(PHP 5 >= 5.5.0, PHP 7) Reset all options of a libcurl session handle void curl_reset ( resource $ch ) This function re-initializes all options set on the given cURL handle to the default values. Parameters: ch A cURL handle returned by curl_init(). Returns: No value is returned. Notes: cur

curl_pause

(PHP 5 >= 5.5.0, PHP 7) Pause and unpause a connection int curl_pause ( resource $ch, int $bitmask ) Parameters: ch A cURL handle returned by curl_init(). bitmask One of CURLPAUSE_* constants. Returns: Returns an error code (CURLE_OK for no error). This function is currently