curl_share_strerror
PHP function
Edit on GitHub ✎
(PHP 7 >= 7.1.0, PHP 8)
Return string describing the given error code
Description
curl_share_strerror(int $error_code): string|null
Returns a text error message describing the given error code.
Parameters
error_codeOne of the cURL error codes constants.
Return Values
Returns error description or null for invalid error code.