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