]> granicus.if.org Git - php/commitdiff
add missing UEXPECTF section
authorAntony Dovgal <tony2001@php.net>
Mon, 7 Aug 2006 21:51:06 +0000 (21:51 +0000)
committerAntony Dovgal <tony2001@php.net>
Mon, 7 Aug 2006 21:51:06 +0000 (21:51 +0000)
ext/json/tests/001.phpt

index 095aedf631965773c9d1700b363ae6b669fa40a4..04153776475aff3e3654ff08cf5b0a3ccf2cd0d6 100644 (file)
@@ -69,3 +69,47 @@ object(stdClass)#1 (1) {
 NULL
 NULL
 Done
+--UEXPECTF--
+Warning: json_decode() expects at least 1 parameter, 0 given in %s on line %d
+NULL
+NULL
+NULL
+NULL
+NULL
+NULL
+NULL
+NULL
+NULL
+NULL
+NULL
+object(stdClass)#1 (1) {
+  [u"test"]=>
+  object(stdClass)#2 (1) {
+    [u"foo"]=>
+    string(3) "bar"
+  }
+}
+object(stdClass)#1 (1) {
+  [u"test"]=>
+  object(stdClass)#2 (1) {
+    [u"foo"]=>
+    string(0) ""
+  }
+}
+object(stdClass)#1 (1) {
+  [u"_empty_"]=>
+  object(stdClass)#2 (1) {
+    [u"foo"]=>
+    string(0) ""
+  }
+}
+object(stdClass)#1 (1) {
+  [u"_empty_"]=>
+  object(stdClass)#2 (1) {
+    [u"_empty_"]=>
+    string(0) ""
+  }
+}
+NULL
+NULL
+Done