求问,子进程里curl的问题?

$worker->onWorkerStart = function($worker) { $url = 'https://www.baidu.com'; $ch = curl_init($url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $content = curl_exec($ch); curl_close...

haha 发表与 2018-04-27 2840 浏览 4 回答

haha

2000
积分
0
获赞数
0
粉丝数
2018-04-26 加入
×
🔝