array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'function.openssl-x509-free.php', 1 => 'openssl_x509_free', ), 'up' => array ( 0 => 'ref.openssl.php', 1 => 'OpenSSL 函数', ), 'prev' => array ( 0 => 'function.openssl-x509-fingerprint.php', 1 => 'openssl_x509_fingerprint', ), 'next' => array ( 0 => 'function.openssl-x509-parse.php', 1 => 'openssl_x509_parse', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'zh', 'path' => 'reference/openssl/functions/openssl-x509-free.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 4 >= 4.0.6, PHP 5, PHP 7, PHP 8)
openssl_x509_free — 释放证书资源
本函数已自 PHP 8.0.0 起被废弃。强烈建议不要依赖本函数。
注意:
此函数无效。在 PHP 8.0.0 之前,用于关闭资源。
openssl_x509_free() 从内存中释放和指定 certificate
资源相关联的证书。
certificate
没有返回值。
版本 | 说明 |
---|---|
8.0.0 | 此函数现已弃用,因为不再有效。 |
8.0.0 |
certificate 现在接受 OpenSSLCertificate
实例;之前接受类型 OpenSSL X.509 的 resource。
|