-
Notifications
You must be signed in to change notification settings - Fork 740
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
curl_multi: Unable to get error code #3942
Comments
I think this works as expected. Anyway, use |
Yes. The errno is only filled by the
|
Thank you for your explanation. It seems that the doc-en examples were recently updated. What I was missing was while (curl_multi_info_read($mh) !== false);
var_dump(curl_errno($ch)); // int(7) Maybe it would be more intuitive to get the error without needing |
Possibly. But given that ext/curl is a rather thin wrapper over libcurl, I don't see that we go this route. |
Oh, that has already been moved to doc-en. Reopening. |
Description
The following code:
Resulted in this output:
But I expected this output instead:
PHP Version
PHP 8.2.23
Operating System
No response
The text was updated successfully, but these errors were encountered: