php下的curl多线程采集函数。 //多线程采集 function curl_multi($urls) { if (!is_array($urls) or count($urls) == 0) { return false; } $num=count($urls); $curl = $curl2 = $text = array(); ...