curl_multi_init

PHP 5, PHP 7, PHP 8
curl_multi_init - Returns a new cURL multi handle
Manual
Code Examples

curl_multi_init( ): CurlMultiHandle

Allows the processing of multiple cURL handles asynchronously.

Parameters

This function has no parameters.

Return Values

Returns a cURL multi handle on success, false on failure.

Changelog

Version Description
8.0.0 On success, this function returns a CurlMultiHandle instance now; previously, a resource was returned.

Related Functions

Example of curl_multi_init

Show all examples for curl_multi_init

PHP Version: