openssl_x509_free
Free certificate resource
WarningThis function has been
DEPRECATED as of PHP 8.0.0. Relying on this function
is highly discouraged.
Description
#[\Deprecated(since: '8.0', message: 'as OpenSSLCertificate objects are freed automatically')]
void openssl_x509_free(OpenSSLCertificate $certificate)
Note:
This function has no effect. Prior to PHP 8.0.0, this function was used to close the resource.
openssl_x509_free frees the certificate associated
with the specified certificate resource from memory.
Return Values
No value is returned.