CURLM_CALL_MULTI_PERFORM was deprecated

    do {
        $mrc = curl_multi_exec($mc, $active);
    } while ($mrc == CURLM_CALL_MULTI_PERFORM);

有没有其他选择?
curl 版本7.27.0

最佳答案

尝试像:

do {
    $mrc = curl_multi_exec($mc, $active);
} while ($active > 0);

关于php - 已弃用CURLM_CALL_MULTI_PERFORM,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/19490837/

10-09 16:12