dmitry Fri Dec 28 13:23:13 2007 UTC Modified files: /php-src/ext/json/tests 005.phpt Log: Fixed test related to bug #38469 http://cvs.php.net/viewvc.cgi/php-src/ext/json/tests/005.phpt?r1=1.3&r2=1.4&diff_format=u Index: php-src/ext/json/tests/005.phpt diff -u php-src/ext/json/tests/005.phpt:1.3 php-src/ext/json/tests/005.phpt:1.4 --- php-src/ext/json/tests/005.phpt:1.3 Thu Oct 19 20:17:17 2006 +++ php-src/ext/json/tests/005.phpt Fri Dec 28 13:23:13 2007 @@ -13,27 +13,11 @@ 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]]" -Done ---UEXPECTF-- -array(1) { - [0]=> - array(1) { - [0]=> - *RECURSION* - } -} - -Warning: json_encode(): recursion detected in %s on line %d -unicode(8) "[[null]]" +string(4) "[[]]" Done
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php