From 500b4b4945e3768afd2cfcae61548ef47e7f003f Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Wed, 3 Mar 2021 16:28:39 +0100 Subject: Explicitly print reference wrappers in debug_zval_dump() Closes GH-6750. --- UPGRADING | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'UPGRADING') 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 ' 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 -- cgit v1.2.1