cvs: php-src /ext/json/tests 001.phpt

From: Date: Mon, 07 Aug 2006 21:51:06 +0000
Subject: cvs: php-src /ext/json/tests 001.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-39816@lists.php.net to get a copy of this message
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

« previous php.cvs (#39816) next »