curl_share_strerror

Return string describing the given error code

Description

stringnull curl_share_strerror(int $error_code)

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

  • curl_share_errno
  • curl_strerror