summaryrefslogtreecommitdiff
path: root/ext/json
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-02-12 10:27:28 +0100
committerNikita Popov <nikita.ppv@gmail.com>2020-02-12 11:25:50 +0100
commitae6f45ad45e072260d93f828d81fee9548123044 (patch)
tree29267ad6f03b52e841eede6881c5b492b6285d64 /ext/json
parent9e5650265c21245a1920ae444d70806600039195 (diff)
downloadphp-git-ae6f45ad45e072260d93f828d81fee9548123044.tar.gz
var_dump(): Don't skip recursion detection on first level
This is confusing. The current output doesn't make it clear that we're in fact recursing to the top-level structure. Closes GH-5171.
Diffstat (limited to 'ext/json')
-rw-r--r--ext/json/tests/003.phpt5
1 files changed, 1 insertions, 4 deletions
diff --git a/ext/json/tests/003.phpt b/ext/json/tests/003.phpt
index 3248689bf9..e0a5e46978 100644
--- a/ext/json/tests/003.phpt
+++ b/ext/json/tests/003.phpt
@@ -25,10 +25,7 @@ echo "Done\n";
--EXPECTF--
array(1) {
[0]=>
- &array(1) {
- [0]=>
- *RECURSION*
- }
+ *RECURSION*
}
bool(false)