php8.5
Home/ Manual/ curl / functions/ curl_multi_getcontent

curl_multi_getcontent

PHP function Edit on GitHub ✎

(PHP 5, PHP 7, PHP 8)

Return the content of a cURL handle if CURLOPT_RETURNTRANSFER is set

Description

curl_multi_getcontent(CurlHandle $handle): string|null

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.

Parameters

Return Values

Return the content of a cURL handle if CURLOPT_RETURNTRANSFER is set or null if not set.

Changelog

VersionDescription

See Also

Source: reference/curl/functions/curl-multi-getcontent.xml · from the official PHP manual (php/doc-en)