array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'function.openssl-pkey-free.php', 1 => 'openssl_pkey_free', ), 'up' => array ( 0 => 'ref.openssl.php', 1 => 'OpenSSL 函数', ), 'prev' => array ( 0 => 'function.openssl-pkey-export.php', 1 => 'openssl_pkey_export', ), 'next' => array ( 0 => 'function.openssl-pkey-get-details.php', 1 => 'openssl_pkey_get_details', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'zh', 'path' => 'reference/openssl/functions/openssl-pkey-free.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 4 >= 4.2.0, PHP 5, PHP 7, PHP 8)
openssl_pkey_free — 释放一个私钥
本函数已自 PHP 8.0.0 起被废弃。强烈建议不要依赖本函数。
key
持有该密钥的资源。
没有返回值。
版本 | 说明 |
---|---|
8.0.0 | 此函数现已弃用,因为不再有效。 |
8.0.0 |
key 现在接受 OpenSSLAsymmetricKey;之前接受类型
OpenSSL key 的 resource。
|