summaryrefslogtreecommitdiff
path: root/UPGRADING
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2021-03-03 16:28:39 +0100
committerNikita Popov <nikita.ppv@gmail.com>2021-03-04 10:11:37 +0100
commit500b4b4945e3768afd2cfcae61548ef47e7f003f (patch)
tree5ccaa3fa9563789e054713a1a927945b5a6c9ea3 /UPGRADING
parent4b59071844d4749e05a73d3d21527c7875e831f8 (diff)
downloadphp-git-500b4b4945e3768afd2cfcae61548ef47e7f003f.tar.gz
Explicitly print reference wrappers in debug_zval_dump()
Closes GH-6750.
Diffstat (limited to 'UPGRADING')
-rw-r--r--UPGRADING5
1 files changed, 5 insertions, 0 deletions
diff --git a/UPGRADING b/UPGRADING
index 495b831b79..cb331ea95b 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -107,6 +107,11 @@ PHP 8.1 UPGRADE NOTES
that ' is escaped to &#039; while previously it was left alone.
Additionally, malformed UTF-8 will be replaced by a Unicode substitution
character, instead of resulting in an empty string.
+ . debug_zval_dump() will now print reference wrappers with their refcount,
+ instead of only prepending a "&" to the value. This more accurately models
+ reference representation since PHP 7.0.
+ . debug_zval_dump() will not print "interned" instead of a dummy refcount of
+ one for interned strings and immutable arrays.
========================================
2. New Features