curl_multi_get_handles

Return an array of CurlHandle objects currently attached to a CurlMultiHandle

Description

array curl_multi_get_handles(CurlMultiHandle $multi_handle)

Returns all CurlHandle objects currently attached to the given CurlMultiHandle. This includes handles added using curl_multi_add_handle and handles accepted by a CURLMOPT_PUSHFUNCTION callback.

Parameters

multi_handle
A cURL multi handle returned by curl_multi_init.

Return Values

Returns an array of CurlHandle objects.

Changelog

Version Description
8.5.0 The function was added.

See Also

  • curl_multi_add_handle
  • curl_multi_remove_handle