Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<CurlShareHandleCURLFile>
^cURLLast updated: Mon, 26 Oct 2026

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

final class CurlSharePersistentHandle {
/* Properties */
public readonly array $options;
}

Properties

options

The CURL_LOCK_DATA_* caches shared between requests using this handle.

Changelog

Version Description
8.5.0 The class was added.

<CurlShareHandleCURLFile>
^cURLLast updated: Mon, 26 Oct 2026