Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert OpenSSL resources to objects #5860

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions UPGRADING
Original file line number Diff line number Diff line change
Expand Up @@ -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
X509Certificate 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 X509Certificate instance is automatically destroyed if it is no
longer referenced.
. openssl_csr_new() will now return an X509CertificateSigningRequest 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 OpenSSLKey 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 OpenSSLKey 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
Expand Down
Loading