curl_init

(PHP 4 >= 4.0.2, PHP 5, PHP 7) Initialize a cURL session resource curl_init ([ string $url = NULL ] ) Initializes a new session and return a cURL handle for use with the curl_setopt(), curl_exec(), and curl_close() functions. Parameters: url If provided, the CURLOPT_URL option will be set to its value. You can manually set this using the curl_setopt() function. Note

curl_getinfo

(PHP 4 >= 4.0.4, PHP 5, PHP 7) Get information regarding a specific transfer mixed curl_getinfo ( resource $ch [, int $opt = 0 ] ) Gets information about the last transfer. Parameters: ch A cURL handle returned by curl_init(). opt This may be one of the following constants: CURLINFO_EFFECTIVE_URL - Last effective URL CURLINFO_H

curl_file_create

(PHP 5 >= 5.5.0, PHP 7) Create a CURLFile object This function is an alias of: CURLFile::__construct()

curl_exec

(PHP 4 >= 4.0.2, PHP 5, PHP 7) Perform a cURL session mixed curl_exec ( resource $ch ) Execute the given cURL session. This function should be called after initializing a cURL session and all the options for the session are set. Parameters: ch A cURL handle returned by curl_init(). Returns: Returns TRUE on success or FALSE on failure. However,

curl_escape

(PHP 5 >= 5.5.0, PHP 7) URL encodes the given string string curl_escape ( resource $ch, string $str ) This function URL encodes the given string according to » RFC 3986. Parameters: ch A cURL handle returned by curl_init(). str The string to be encoded. Returns: Returns escaped string or FALSE on failure.

curl_error

(PHP 4 >= 4.0.3, PHP 5, PHP 7) Return a string containing the last error for the current session string curl_error ( resource $ch ) Returns a clear text error message for the last cURL operation. Parameters: ch A cURL handle returned by curl_init(). Returns: Returns the error message or '' (the empty string) if no error occurred.

curl_errno

(PHP 4 >= 4.0.3, PHP 5, PHP 7) Return the last error number int curl_errno ( resource $ch ) Returns the error number for the last cURL operation. Parameters: ch A cURL handle returned by curl_init(). Returns: Returns the error number or 0 (zero) if no error occurred. Examples: curl_e

curl_copy_handle

(PHP 5, PHP 7) Copy a cURL handle along with all of its preferences resource curl_copy_handle ( resource $ch ) Copies a cURL handle keeping the same preferences. Parameters: ch A cURL handle returned by curl_init(). Returns: Returns a new cURL handle. Examples: Copying a cURL handle

curl_close

(PHP 4 >= 4.0.2, PHP 5, PHP 7) Close a cURL session void curl_close ( resource $ch ) Closes a cURL session and frees all resources. The cURL handle, ch, is also deleted. Parameters: ch A cURL handle returned by curl_init(). Returns: No value is returned. Examples: Initializing a new

chdb_create

(PECL chdb >= 0.1.0) Creates a chdb file bool chdb_create ( string $pathname, array $data ) chdb_create() creates a chdb file containing the specified key-value pairs. Note: chdb files are not portable across little-endian and big-endian environments. Except for that, they are portable across different architectures. Also compatibility across different versions of chdb is not guaranteed. Parameters: