summaryrefslogtreecommitdiff
path: root/UPGRADING
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2020-08-01 22:42:26 +0200
committerMáté Kocsis <kocsismate@woohoolabs.com>2020-08-01 22:47:20 +0200
commit9f44eca6b60f8073dc9e2aa31154f9d70b42938d (patch)
tree12a3768750f612fce114b7c105a0713c51a77519 /UPGRADING
parent97f10fc341fb320dd803b83e0b3a3041a1ee2046 (diff)
downloadphp-git-9f44eca6b60f8073dc9e2aa31154f9d70b42938d.tar.gz
Convert resources to objects in ext/openssl
Closes GH-5860 Co-authored-by: Nikita Popov <nikita.ppv@gmail.com>
Diffstat (limited to 'UPGRADING')
-rw-r--r--UPGRADING17
1 files changed, 17 insertions, 0 deletions
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