summaryrefslogtreecommitdiff
path: root/ext/json/tests
diff options
context:
space:
mode:
authorFelipe Pena <felipe@php.net>2010-04-03 15:42:42 +0000
committerFelipe Pena <felipe@php.net>2010-04-03 15:42:42 +0000
commita90c801c2f863f00e3f799144031aa3708f8238e (patch)
treeae581462eb3d7408dd5285a948467d88ff67bf42 /ext/json/tests
parentfa762634816993bb213c2451847103178f960787 (diff)
downloadphp-git-a90c801c2f863f00e3f799144031aa3708f8238e.tar.gz
- Fixed tests
Diffstat (limited to 'ext/json/tests')
-rw-r--r--ext/json/tests/003.phpt5
-rw-r--r--ext/json/tests/004.phpt5
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