From 9f44eca6b60f8073dc9e2aa31154f9d70b42938d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1t=C3=A9=20Kocsis?= Date: Sat, 1 Aug 2020 22:42:26 +0200 Subject: Convert resources to objects in ext/openssl Closes GH-5860 Co-authored-by: Nikita Popov --- UPGRADING | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'UPGRADING') diff --git a/UPGRADING b/UPGRADING index f38f149236..cee09177be 100644 --- a/UPGRADING +++ b/UPGRADING @@ -366,6 +366,23 @@ PHP 8.0 UPGRADE NOTES . Several alias functions have been marked as deprecated. . oci_internal_debug() and its alias ociinternaldebug() have been removed. +- OpenSSL: + . openssl_x509_read() and openssl_csr_sign() will now return an + OpenSSLCertificate object rather than a resource. Return value checks using + is_resource() should be replaced with checks for `false`. + . The openssl_x509_free() function is deprecated and no longer has an effect, + instead the OpenSSLCertificate instance is automatically destroyed if it is no + longer referenced. + . openssl_csr_new() will now return an OpenSSLCertificateSigningRequest object + rather than a resource. Return value checks using is_resource() should be + replaced with checks for `false`. + . openssl_pkey_new() will now return an OpenSSLAsymmetricKey object rather than a + resource. Return value checks using is_resource() should be replaced with + checks for `false`. + . The openssl_pkey_free() function is deprecated and no longer has an effect, + instead the OpenSSLAsymmetricKey instance is automatically destroyed if it is no + longer referenced. + - PCRE: . When passing invalid escape sequences they are no longer interpreted as literals. This behavior previously required the X modifier - which is -- cgit v1.2.1