PHP 7.4.0RC6 Released!

openssl_pkey_free

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

openssl_pkey_freeFrees a private key

Description

openssl_pkey_free ( resource $key ) : void

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

Parameters

key

Resource holding the key.

Return Values

No value is returned.

add a note add a note

User Contributed Notes 1 note

up
0
djmaze
4 months ago
This function also frees public key resources as received with openssl_pkey_get_public().

Manual above should say: "Frees a pkey resource"
To Top