curl_multi_remove_handle

Supported Versions: PHP 5, PHP 7, PHP 8
Remove a multi handle from a set of cURL handles
<?php curl_multi_remove_handle(CurlMultiHandle $multi_handle, CurlHandle $handle): int
<?php     {

        if (isset($this->jobs[$id], $this->jobs[$id]['curlHandle'])) {

            $job = $this->jobs[$id];

            curl_multi_remove_handle($this->multiHandle, $job['curlHandle']);

            curl_close($job['curlHandle']);

            if (is_resource($job['headerHandle'])) {

                fclose($job['headerHandle']);
<?php             unset($this->jobs[$i]);

            $error = curl_error($curlHandle);

            $errno = curl_errno($curlHandle);

            curl_multi_remove_handle($this->multiHandle, $curlHandle);

            curl_close($curlHandle);



            $headers = null;