array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'en', ), 'this' => array ( 0 => 'function.curl-multi-select.php', 1 => 'curl_multi_select', ), 'up' => array ( 0 => 'ref.curl.php', 1 => 'cURL Functions', ), 'prev' => array ( 0 => 'function.curl-multi-remove-handle.php', 1 => 'curl_multi_remove_handle', ), 'next' => array ( 0 => 'function.curl-multi-setopt.php', 1 => 'curl_multi_setopt', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/curl/functions/curl-multi-select.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 5, PHP 7, PHP 8)
curl_multi_select — Wait for activity on any curl_multi connection
Blocks until there is activity on any of the curl_multi connections.
multi_handle
A cURL multi handle returned by curl_multi_init().
timeout
Time, in seconds, to wait for a response.
On success, returns the number of descriptors contained in the descriptor sets. This may be 0 if there was no activity on any of the descriptors. On failure, this function will return -1 on a select failure (from the underlying select system call).
Version | Description |
---|---|
8.0.0 |
multi_handle expects a CurlMultiHandle
instance now; previously, a resource was expected.
|