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
- Compiled (AOT): supported through the compiler-injected curl prelude.
eval()(magician interpreter): supported — declarative interpreter builtin (crates/elephc-magician/src/interpreter/builtins/curl/curl_setopt_array.rs).
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.