curl_multi_errno
(PHP 7 >= 7.1.0)
curl_multi_errno — Return the last multi curl error number
Description
curl_multi_errno ( CurlMultiHandle $multi_handle ) : int
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() - Return the last error number
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.curl-multi-errno.php