curl_multi_strerror

(PHP 5 >= 5.5.0, PHP 7, PHP 8)

curl_multi_strerror — エラーの内容を表す文字列を返す

説明

function curl_multi_strerror(int $error_code): ?string

指定した CURLM_* エラーコードに対応するエラーメッセージの文字列を返します。

パラメータ

error_code

CURLM_* 定数のいずれか。

戻り値

エラーの説明を返します。不明なエラーコードの場合は "Unknown error" を返します。

参考

+add a note

User Contributed Notes

There are no user contributed notes for this page.