curl_multi_errno

Return the last multi curl error number

Description

int curl_multi_errno(CurlMultiHandle $multi_handle)

Return an integer containing the last multi curl error number.

Parameters

multi_handle

A cURL multi handle returned by curl_multi_init.

Return Values

Return an integer containing the last multi curl error number.

Changelog

Version Description
8.0.0 The function no longer returns false on failure.
8.0.0 multi_handle expects a CurlMultiHandle instance now; previously, a resource was expected.

See Also

  • curl_errno