← All docs

curl_share_init_persistent()

Initializes a persistent cURL share handle.

curl_share_init_persistent()

function curl_share_init_persistent(array $share_options): CurlSharePersistentHandle

Initializes a persistent cURL share handle.

Parameters:

  • $share_options (array)

Returns: CurlSharePersistentHandle

Availability

No examples yet — check examples/ and showcases/ for usage patterns.

Internals

For how curl_share_init_persistent is implemented in the compiler, see the internals page.