PHP 5, PHP 7, PHP 8
curl_copy_handle - Copy a cURL handle along with all of its preferences
curl_copy_handle( CurlHandle$handle ): CurlHandle|false
Copies a cURL handle keeping the same preferences.
A cURL handle returned by curl_init.
Returns a new cURL handle, or false on failure.
|8.0.0||handle expects a CurlHandle instance now; previously, a resource was expected.|
|8.0.0||On success, this function returns a CurlHandle instance now; previously, a resource was returned.|
Show all examples for curl_copy_handle