From: Antony Dovgal Date: Mon, 7 Aug 2006 21:51:06 +0000 (+0000) Subject: add missing UEXPECTF section X-Git-Tag: RELEASE_1_0_0RC1~2055 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=004e6c6cf66838a02fd1c42557871c456d931008;p=php add missing UEXPECTF section --- diff --git a/ext/json/tests/001.phpt b/ext/json/tests/001.phpt index 095aedf631..0415377647 100644 --- a/ext/json/tests/001.phpt +++ b/ext/json/tests/001.phpt @@ -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