← All docs

curl_setopt_array()

Sets multiple options for a cURL transfer.

curl_setopt_array()

function curl_setopt_array(CurlHandle $handle, array $options): bool

Sets multiple options for a cURL transfer.

Parameters:

  • $handle (CurlHandle)
  • $options (array)

Returns: bool

Availability

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

Internals

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