curl_share_errno
(PHP 7 >= 7.1.0, PHP 8)
curl_share_errno — 返回共享 curl 句柄的最后一次错误编号
参数
share_handleA 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() - 返回最后一次的错误代码