Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/294.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php CURL_多主动最大跟踪_Php_Curl_Curl Multi - Fatal编程技术网

Php CURL_多主动最大跟踪

Php CURL_多主动最大跟踪,php,curl,curl-multi,Php,Curl,Curl Multi,我的sry不是最好的英语:)所以我和curl_multi一起工作 do { $mrc = curl_multi_exec($this->curl, $active); } while ($mrc == CURLM_CALL_MULTI_PERFORM); while ($active && $mrc == CURLM_OK) { if (curl_multi_select($this->curl) != -1) { do {

我的sry不是最好的英语:)所以我和curl_multi一起工作

do {
    $mrc = curl_multi_exec($this->curl, $active);
}
while ($mrc == CURLM_CALL_MULTI_PERFORM);

while ($active && $mrc == CURLM_OK) {
    if (curl_multi_select($this->curl) != -1) {
        do {
            $mrc = curl_multi_exec($this->curl, $active);
        } while ($mrc == CURLM_CALL_MULTI_PERFORM);
    }
}
当我跟踪$active时,最大值是1019(即使我有2000个请求)