summaryrefslogtreecommitdiff
path: root/UPGRADING
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-07-24 10:16:38 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-07-24 12:23:34 +0200
commitd65d3f5298dcc8d94bcac96e8bf2441dceb393ac (patch)
treea5e07c4bdf5a7ca0dc213b1b3a7ef6e0136d8528 /UPGRADING
parent27ad19c3e8d4fe61ce9c8cec9e50062acf2255c1 (diff)
downloadphp-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--UPGRADING3
1 files changed, 3 insertions, 0 deletions
diff --git a/UPGRADING b/UPGRADING
index a98aeab045..f7c6ec0a14 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -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