Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<curl_share_setoptcurl_strerror>
^cURL FunctionsLast updated: Mon, 26 Oct 2026

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


<curl_share_setoptcurl_strerror>
^cURL FunctionsLast updated: Mon, 26 Oct 2026