curl_exec()
function curl_exec(CurlHandle $handle): string|bool
Performs a cURL session.
Parameters:
$handle(CurlHandle)
Returns: string|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_exec.rs).
No examples yet — check examples/ and showcases/ for usage patterns.
Internals
For how curl_exec is implemented in the compiler, see the internals page.