diff options
author | Felipe Pena <felipe@php.net> | 2010-04-03 15:42:42 +0000 |
---|---|---|
committer | Felipe Pena <felipe@php.net> | 2010-04-03 15:42:42 +0000 |
commit | 4d571dee742307b045e0a041b9eb2e46254ea140 (patch) | |
tree | decb23bfd891eb6483c0bab25c8158cbd58e0e5f /ext/json/tests | |
parent | a140e70661b698d0f2527dadbc956bd2e98bc9b9 (diff) | |
download | php-git-4d571dee742307b045e0a041b9eb2e46254ea140.tar.gz |
- Fixed tests
Diffstat (limited to 'ext/json/tests')
-rw-r--r-- | ext/json/tests/003.phpt | 5 | ||||
-rw-r--r-- | ext/json/tests/004.phpt | 5 |
2 files changed, 2 insertions, 8 deletions
diff --git a/ext/json/tests/003.phpt b/ext/json/tests/003.phpt index f10baa9d12..3b52fb0884 100644 --- a/ext/json/tests/003.phpt +++ b/ext/json/tests/003.phpt @@ -21,10 +21,7 @@ array(1) { [0]=> &array(1) { [0]=> - &array(1) { - [0]=> - *RECURSION* - } + *RECURSION* } } diff --git a/ext/json/tests/004.phpt b/ext/json/tests/004.phpt index 884d874205..1d282f9a96 100644 --- a/ext/json/tests/004.phpt +++ b/ext/json/tests/004.phpt @@ -16,10 +16,7 @@ echo "Done\n"; --EXPECTF-- object(stdClass)#%d (1) { ["prop"]=> - object(stdClass)#%d (1) { - ["prop"]=> - *RECURSION* - } + *RECURSION* } Warning: json_encode(): recursion detected in %s on line %d |