← All docs
curl_multi_getcontent()
Returns the content of a cURL handle if CURLOPT_RETURNTRANSFER is set.
curl_multi_getcontent()
function curl_multi_getcontent(mixed $handle): ?string
Returns the content of a cURL handle if CURLOPT_RETURNTRANSFER is set.
Parameters:
$handle(mixed)
Returns: ?string
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_multi_getcontent.rs).
No examples yet — check examples/ and showcases/ for usage patterns.
Internals
For how curl_multi_getcontent is implemented in the compiler, see the internals page.