CURLM_CALL_MULTI_PERFORM deprecated

2019-03-31 02:22发布

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

Is there any alternative? Curl version 7.27.0

2条回答
戒情不戒烟
2楼-- · 2019-03-31 03:04

It's not really clear, if CURLM_CALL_MULTI_PERFORM is deprecated or not.

The symbol exists. A removal was not mentioned in the 7.27.0 Change Notes.

Like @tne pointed out in his comment: it seems reasonable to ignore it.

查看更多
啃猪蹄的小仙女
3楼-- · 2019-03-31 03:05

try like:

do {
    $mrc = curl_multi_exec($mc, $active);
} while ($active > 0);
查看更多
登录 后发表回答