curl_share_init

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

curl_share_init( ): CurlShareHandle

Allows to share data between cURL handles.

Parameters

This function has no parameters.

Return Values

Returns a cURL share handle.

Changelog

Version Description
8.0.0 This function returns a CurlShareHandle instance now; previously, a resource was returned.

Related Functions

Example of curl_share_init

Show all examples for curl_share_init

PHP Version: