openssl_pkey_free

(PHP 4 >= 4.2.0, PHP 5)

openssl_pkey_freeFrees a private key

Description

void openssl_pkey_free ( resource $key )

This function frees a private key created by openssl_pkey_new().

Parameters

key

Resource holding the key.

Return Values

No value is returned.

Коментарии

Автор:
This function also frees public key resources as received with openssl_pkey_get_public().

Manual above should say: "Frees a pkey resource"
2019-07-16 11:51:19
http://php5.kiev.ua/manual/ru/function.openssl-pkey-free.html
PHP 8 deprecates openssl_free_key (actually openssl_pkey_free which it aliases) and automatically destroys the key instance when it goes out of scope.
2021-01-05 10:31:26
http://php5.kiev.ua/manual/ru/function.openssl-pkey-free.html

    Поддержать сайт на родительском проекте КГБ