← All docs

curl_multi_add_handle()

Adds a normal cURL handle to a cURL multi handle.

curl_multi_add_handle()

function curl_multi_add_handle(CurlMultiHandle $multi_handle, mixed $handle): int

Adds a normal cURL handle to a cURL multi handle.

Parameters:

  • $multi_handle (CurlMultiHandle)
  • $handle (mixed)

Returns: int

Availability

No examples yet — check examples/ and showcases/ for usage patterns.

Internals

For how curl_multi_add_handle is implemented in the compiler, see the internals page.