curl_share_init » « curl_share_close PHP 手册 函数参考 其它服务 cURL cURL 函数 curl_share_errno (PHP 7 >= 7.1.0, PHP 8)curl_share_errno — 返回共享 curl 句柄的最后一次错误编号 说明 curl_share_errno(CurlShareHandle $share_handle): int 返回整数,表示共享 curl 句柄的最后一次错误编号。 参数 share_handle A cURL share handle returned by curl_share_init(). 返回值 返回整数,表示共享 curl 句柄的最后一次错误编号。 更新日志 版本 说明 8.0.0 失败时函数不再返回 false。 8.0.0 share_handle expects a CurlShareHandle instance now; previously, a resource was expected. 参见 curl_errno() - 返回最后一次的错误代码 发现了问题? 了解如何改进此页面 • 提交拉取请求 • 报告一个错误 +添加备注 用户贡献的备注 此页面尚无用户贡献的备注。 备份地址:http://www.lvesu.com/blog/php/function.curl-share-errno.php