略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: OAuth::disableSSLChecks

2024-05-03

OAuth::disableSSLChecks

(PECL OAuth >= 0.99.5)

OAuth::disableSSLChecks关闭 SSL 检查

说明

public OAuth::disableSSLChecks(): bool

关闭通常的 SSL 对等证书和主机检查,但不用于生产环境。或者,设置 sslChecks 成员为 false 来关闭 SSL 检查。

参数

此函数没有参数。

返回值

true

更新日志

版本 说明
0.99.8 增加了 sslChecks 成员

参见

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/oauth.disablesslchecks.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3