diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-07-24 10:16:38 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-07-24 12:23:34 +0200 |
commit | d65d3f5298dcc8d94bcac96e8bf2441dceb393ac (patch) | |
tree | a5e07c4bdf5a7ca0dc213b1b3a7ef6e0136d8528 /UPGRADING | |
parent | 27ad19c3e8d4fe61ce9c8cec9e50062acf2255c1 (diff) | |
download | php-git-d65d3f5298dcc8d94bcac96e8bf2441dceb393ac.tar.gz |
Fix bug #79108
Don't expose references in debug_backtrace() or exception traces.
This is regardless of whether the argument is by-reference or not.
As a side-effect of this change, exception traces may now acquire
the interior value of a reference, which may be unexpected for
some internal functions. This is what necessitated the change in
the spl_array sort implementation.
Diffstat (limited to 'UPGRADING')
-rw-r--r-- | UPGRADING | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -210,6 +210,9 @@ PHP 8.0 UPGRADE NOTES RFC: https://wiki.php.net/rfc/namespaced_names_as_token . Nested ternaries now require explicit parentheses. RFC: https://wiki.php.net/rfc/ternary_associativity + . debug_backtrace() and Exception::getTrace() will no longer provide + references to arguments. It will not be possible to change function + arguments through the backtrace. - COM: . Removed the ability to import case-insensitive constants from type |