From: Dmitry Stogov Date: Fri, 28 Dec 2007 13:23:00 +0000 (+0000) Subject: Fixed test related to bug #38469 X-Git-Tag: RELEASE_1_3_1~459 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ebf4cd30dbf8bb5ee7ae6d329a1ddb0d1012d754;p=php Fixed test related to bug #38469 --- 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