]> granicus.if.org Git - php/commitdiff
fix test
authorAntony Dovgal <tony2001@php.net>
Mon, 7 Aug 2006 22:19:45 +0000 (22:19 +0000)
committerAntony Dovgal <tony2001@php.net>
Mon, 7 Aug 2006 22:19:45 +0000 (22:19 +0000)
ext/wddx/tests/001.phpt

index 3c77603b5aa8c2cae495abea4ab40fbf2e2e53fa..7c6998e37b5cc0c739acf1a885080d8e4045eaa9 100644 (file)
@@ -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)
+    }
+  }
+}