curl_share_init_persistent

FunctionAdded in PHP 8.5

Initialize a persistent cURL share handle.

PHP 5
PHP 7
PHP 8.0
PHP 8.1-8.2
PHP 8.3
PHP 8.4
PHP 8.5
Added

curl_share_init_persistent Function synopsis

curl_share_init_persistent(array $share_options): CurlSharePersistentHandle

Parameters

$share_options

Typearray

Return value

TypeCurlSharePersistentHandle

Changes to the curl_share_init_persistent Function

PHP 8.5

  • Function added

curl_share_init_persistent Function Availability

PHP VersionAvailability
PHP 8.5Upcoming Release Yes
PHP 8.4Supported (Latest) No
PHP 8.3Supported No
PHP 8.2Security-Fixes Only No
PHP 8.1Security-Fixes Only No
PHP 8.0Unsupported No
PHP 7.4Unsupported No
PHP 7.3Unsupported No
PHP 7.2Unsupported No
PHP 7.1Unsupported No
PHP 7.0Unsupported No
PHP 5.6Unsupported No
PHP 5.5Unsupported No
PHP 5.4Unsupported No
PHP 5.3Unsupported No