返回錯誤號對應的錯誤訊息

curl_share_strerror

(PHP 7 >= 7.1.0, PHP 8)

curl_share_strerror返回錯誤號對應的錯誤訊息

說明

curl_share_strerror(int $errornum): string

返回錯誤號對應的錯誤訊息。

參數

errornum

» cURL error codes 常量。

返回值

返回錯誤訊息。如果傳入了無效的錯誤號,返回 null

參見

Leave a Reply

Your email address will not be published. Required fields are marked *