array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'function.curl-multi-select.php', 1 => 'curl_multi_select', ), 'up' => array ( 0 => 'ref.curl.php', 1 => 'cURL 函数', ), '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' => 'zh', '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 — 在任意 curl_multi 连接上等待活动
成功时返回描述符集合中描述符的数量。如果没有任何活动的描述符,则为 0。失败时,此函数将在 select 失败时返回 -1(来自底层 select 系统调用)。
版本 | 说明 |
---|---|
8.0.0 |
multi_handle expects a CurlMultiHandle
instance now; previously, a resource was expected.
|