Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

PHP curl_multi_strerror Function

PHP curl_multi_strerror Function

PHP Calendar Reference Manual PHP cURL Reference Manual

(PHP 5 >= 5.5.0)

curl_multi_setopt — Return a string describing an error code.


Description


string curl_multi_strerror ( int $errornum )

Returns a string describing a CURLM error code.


Parameters

** errornum **

CURLM error codes One of the constants in


Return Value

Returns a string describing the error code, otherwise returns NULL.


Example

Example

0 ) { // display the error message echo " ERROR! \n " . curl_multi_strerror ( $status ) ; } } while ( $status === CURLM_CALL_MULTI_PERFORM || $active ) ; ?>

PHP Calendar Reference Manual PHP cURL Reference Manual