← All docs

curl_multi_setopt()

Sets an option on a cURL multi handle.

curl_multi_setopt()

function curl_multi_setopt(CurlMultiHandle $multi_handle, int $option, mixed $value): bool

Sets an option on a cURL multi handle.

Parameters:

  • $multi_handle (CurlMultiHandle)
  • $option (int)
  • $value (mixed)

Returns: bool

Availability

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

Internals

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