php / 8.1.5 / function.curl-share-strerror.html /

curl_share_strerror

(PHP 7 >= 7.1.0, PHP 8)

curl_share_strerrorReturn string describing the given error code

Description

curl_share_strerror(int $error_code): ?string

Returns a text error message describing the given error code.

Parameters

error_code

One of the » cURL error codes constants.

Return Values

Returns error description or null for invalid error code.

See Also

© 1997–2021 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.curl-share-strerror.php