OpenSSL Functions
PHP Manual

openssl_pkey_free

(PHP 4 >= 4.2.0, PHP 5, PHP 7)

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.


OpenSSL Functions
PHP Manual