array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'en', ), 'this' => array ( 0 => 'function.curl-multi-getcontent.php', 1 => 'curl_multi_getcontent', ), 'up' => array ( 0 => 'ref.curl.php', 1 => 'cURL Functions', ), 'prev' => array ( 0 => 'function.curl-multi-exec.php', 1 => 'curl_multi_exec', ), 'next' => array ( 0 => 'function.curl-multi-info-read.php', 1 => 'curl_multi_info_read', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/curl/functions/curl-multi-getcontent.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 5, PHP 7, PHP 8)
curl_multi_getcontent — Return the content of a cURL handle if CURLOPT_RETURNTRANSFER
is set
If CURLOPT_RETURNTRANSFER
is an option that is set for a specific handle,
then this function will return the content of that cURL handle in the form
of a string.
Return the content of a cURL handle if CURLOPT_RETURNTRANSFER
is set or null
if not set.
Version | Description |
---|---|
8.0.0 |
handle expects a CurlHandle
instance now; previously, a resource was expected.
|