openssl_free_key

Free key resource

&warn.deprecated.function-8-0-0;
&reftitle.description; `void` `openssl_free_key` `OpenSSLAsymmetricKey` `key`

`openssl_free_key` frees the key associated with the specified `key` from memory.

&reftitle.parameters;

`key`

&reftitle.returnvalues;

&return.void;

&reftitle.changelog;

&Version; | &Description;
8.0.0 | This function is now deprecated as it doesn't have an effect anymore.
8.0.0 | `key` accepts an `OpenSSLAsymmetricKey` now; previously, a &resource; of type `OpenSSL key` was accepted.