php8.5
Home/ Manual/ curl / functions/ curl_multi_remove_handle

curl_multi_remove_handle

PHP function Edit on GitHub ✎

(PHP 5, PHP 7, PHP 8)

Remove a handle from a set of cURL handles

Description

curl_multi_remove_handle(CurlMultiHandle $multi_handle, CurlHandle $handle): int

Removes a given handle from the given multi_handle. When the handle has been removed, it is again perfectly legal to run curl_exec() on this handle. Removing the handle while being used, will effectively halt the transfer in progress involving that handle.

Parameters

Return Values

Returns 0 on success, or one of the CURLM_* error codes.

Changelog

VersionDescription

See Also

Source: reference/curl/functions/curl-multi-remove-handle.xml · from the official PHP manual (php/doc-en)