The CurlSharePersistentHandle class
(PHP 8 >= 8.5.0)
Introduction
Represents a persistent cURL "share" handle, created by curl_share_init_persistent(). Unlike CurlShareHandle (created with curl_share_init()), this handle persists across requests. Use curl_share_setopt() to configure what data is shared.
Class synopsis
Properties
optionsThe CURL_LOCK_DATA_* caches shared between requests using this handle.
Changelog
| Version | Description |
|---|---|
| 8.5.0 | The class was added. |
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
