curl_multi_getcontent

(PHP 5, PHP 7, PHP 8)

curl_multi_getcontentRestituisce il contenuto di un handle cURL se CURLOPT_RETURNTRANSFER è impostato

Descrizione

curl_multi_getcontent(CurlHandle $handle): ?string

Se CURLOPT_RETURNTRANSFER è un'opzione impostata per l'handle specifico, allora questa funzione restituirà il contenuto dell'handle cURL nella forma di una stringa.

Elenco dei parametri

ch

Un identificativo cURL restituito da curl_init().

Valori restituiti

Restituisce il contenuto dell'handle cURL se CURLOPT_RETURNTRANSFER è impostato.

Log delle modifiche

Versione Descrizione
8.0.0 handle expects a CurlHandle instance now; previously, a resource was expected.

Vedere anche: