PHP 8.1.0 Beta 1 available for testing

curl_share_errno

(PHP 7 >= 7.1.0, PHP 8)

curl_share_errnoReturn the last share curl error number

Beschreibung

curl_share_errno ( CurlShareHandle $share_handle ) : int

Return an integer containing the last share curl error number.

Parameter-Liste

share_handle

A cURL share handle returned by curl_share_init().

R├╝ckgabewerte

Returns an integer containing the last share curl error number, Im Fehlerfall wird false zur├╝ckgegeben..

Changelog

Version Beschreibung
8.0.0 The function no longer returns false on failure.
8.0.0 share_handle expects a CurlShareHandle instance now; previously, a resource was expected.

Siehe auch

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top