From: Antony Dovgal Date: Mon, 7 Aug 2006 22:19:45 +0000 (+0000) Subject: fix test X-Git-Tag: RELEASE_1_0_0RC1~2052 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8e20d96a8af55f8753a21564df0bedfe7f47a7c0;p=php fix test --- diff --git a/ext/wddx/tests/001.phpt b/ext/wddx/tests/001.phpt index 3c77603b5a..7c6998e37b 100644 --- a/ext/wddx/tests/001.phpt +++ b/ext/wddx/tests/001.phpt @@ -57,3 +57,53 @@ array(11) { } } } +--UEXPECT-- +array(11) { + [u"aNull"]=> + NULL + [u"aString"]=> + string(8) "a string" + [u"aNumber"]=> + float(-12.456) + [u"aDateTime"]=> + int(897625932) + [u"aDateTime2"]=> + int(329632332) + [u"aDateTime3"]=> + string(22) "2040-06-12T04:32:12+00" + [u"aBoolean"]=> + bool(true) + [u"anArray"]=> + array(2) { + [0]=> + int(10) + [1]=> + string(14) "second element" + } + [u"aBinary"]=> + string(11) "binary data" + [u"anObject"]=> + array(2) { + [u"s"]=> + string(8) "a string" + [u"n"]=> + float(-12.456) + } + [u"aRecordset"]=> + array(2) { + [u"NAME"]=> + array(2) { + [0]=> + string(8) "John Doe" + [1]=> + string(8) "Jane Doe" + } + [u"AGE"]=> + array(2) { + [0]=> + int(34) + [1]=> + int(31) + } + } +}