diff options
| author | Dmitry Stogov <dmitry@php.net> | 2007-12-28 13:23:13 +0000 |
|---|---|---|
| committer | Dmitry Stogov <dmitry@php.net> | 2007-12-28 13:23:13 +0000 |
| commit | 9f4a22f1a8b639c32c343e113ed0263c1f104cfe (patch) | |
| tree | 0a7bf13891d4077751d803b861bf36872244b8a9 /ext | |
| parent | 9da3b7cf8eeb787865f3bef5635e3bc6b02e30aa (diff) | |
| download | php-git-9f4a22f1a8b639c32c343e113ed0263c1f104cfe.tar.gz | |
Fixed test related to bug #38469
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/json/tests/005.phpt | 22 |
1 files changed, 3 insertions, 19 deletions
diff --git a/ext/json/tests/005.phpt b/ext/json/tests/005.phpt index 2845dd3ebb..01a307f4a3 100644 --- a/ext/json/tests/005.phpt +++ b/ext/json/tests/005.phpt @@ -13,27 +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]]" -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 |
