note 125692 added to function.curl-error
| From: | Anonymous@php.net | Date: | Mon, 18 Jan 2021 20:40:07 +0000 |
| Subject: | note 125692 added to function.curl-error | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-216188@lists.php.net to get a copy of this message | ||
If you're using curl_multi and there's an error, curl_error() will remain empty until
you've called curl_multi_info_read(). That function "pumps" the information inside
the curl libraries to the point where curl_error() will return a useful string.
This should really be added to the documentation, because it's not at all obvious.
----
Server IP: 45.112.84.4
Probable Submitter: 45.91.159.166 (proxied: 168.161.192.15)
----
Manual Page -- http://php.net/manual/en/function.curl-error.php
Edit -- https://master.php.net/note/edit/125692
Del: integrated -- https://master.php.net/note/delete/125692/integrated
Del: useless -- https://master.php.net/note/delete/125692/useless
Del: bad code -- https://master.php.net/note/delete/125692/bad+code
Del: spam -- https://master.php.net/note/delete/125692/spam
Del: non-english -- https://master.php.net/note/delete/125692/non-english
Del: in docs -- https://master.php.net/note/delete/125692/in+docs
Del: other reasons-- https://master.php.net/note/delete/125692
Reject -- https://master.php.net/note/reject/125692
Search -- https://master.php.net/manage/user-notes.php