curl_share_close

PHP 5 >= 5.5.0, PHP 7, PHP 8
curl_share_close - Close a cURL share handle
Manual
Code Examples

curl_share_close( CurlShareHandle$share_handle ): void
Note:

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

Closes a cURL share handle and frees all resources.

Parameters

share_handle

A cURL share handle returned by curl_share_init.

Return Values

No value is returned.

Changelog

Version Description
8.0.0 share_handle expects a CurlShareHandle instance now; previously, a resource was expected.

Related Functions

Example of curl_share_close

Show all examples for curl_share_close

PHP Version: