tony2001 Mon Aug 7 21:51:06 2006 UTC Modified files: /php-src/ext/json/tests 001.phpt Log: add missing UEXPECTF section http://cvs.php.net/viewvc.cgi/php-src/ext/json/tests/001.phpt?r1=1.2&r2=1.3&diff_format=u Index: php-src/ext/json/tests/001.phpt diff -u php-src/ext/json/tests/001.phpt:1.2 php-src/ext/json/tests/001.phpt:1.3 --- php-src/ext/json/tests/001.phpt:1.2 Thu Jul 20 08:56:24 2006 +++ php-src/ext/json/tests/001.phpt Mon Aug 7 21:51:06 2006 @@ -69,3 +69,47 @@ 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
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php