curl_multi_close

PHP 5, PHP 7, PHP 8
curl_multi_close - Close a set of cURL handles
Manual
Code Examples

curl_multi_close( CurlMultiHandle$multi_handle ): void
Note:

This function has no effect. Prior to PHP 8.0.0, this function was used to close the resource.

Closes a set of cURL handles.

Parameters

multi_handle

A cURL multi handle returned by curl_multi_init.

Return Values

No value is returned.

Changelog

Version Description
8.0.0 multi_handle expects a CurlMultiHandle instance now; previously, a resource was expected.

Related Functions

Example of curl_multi_close

Show all examples for curl_multi_close

PHP Version: