phpday 2027 - Call for Papers

curl_share_strerror

(PHP 7 >= 7.1.0, PHP 8)

curl_share_strerror — Return string describing the given error code

Description

function 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 the error description. For an unknown error code this is "CURLSHcode unknown".

See Also

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top