curl_share_errno

(PHP 7 >= 7.1.0, PHP 8)

curl_share_errnoDevuelve el último número de error del gestor compartido cURL

Descripción

curl_share_errno(CurlShareHandle $share_handle): int

Devuelve un integer que contiene el último número de error del gestor compartido cURL.

Parámetros

share_handle

A cURL share handle returned by curl_share_init().

Valores devueltos

Devuelve un integer que contiene el último número de error del gestor compartido cURL.

Historial de cambios

Versión Descripción
8.0.0 La función ya no devuelve false en caso de fallo.
8.0.0 share_handle expects a CurlShareHandle instance now; previously, a resource was expected.

Ver también

add a note

User Contributed Notes

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