curl_share_close
PHP 5 >= 5.5.0, PHP 7, PHP 8
curl_share_close - Close a cURL share handle
Manual
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. |