From df9e324f352ef3ff898f0df3c421ca023303c2c4 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Fri, 28 Dec 2007 13:38:30 +0000 Subject: [PATCH] Fixed test related to bug #38469 --- ext/json/tests/005.phpt | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/ext/json/tests/005.phpt b/ext/json/tests/005.phpt index f6a8977d18..01a307f4a3 100644 --- a/ext/json/tests/005.phpt +++ b/ext/json/tests/005.phpt @@ -13,15 +13,11 @@ var_dump(json_encode($a)); echo "Done\n"; ?> ---EXPECTF-- +--EXPECTF-- array(1) { [0]=> - array(1) { - [0]=> - *RECURSION* + array(0) { } } - -Warning: json_encode(): recursion detected in %s on line %d -string(8) "[[null]]" +string(4) "[[]]" Done -- 2.50.1