unread
The wddx tests presume that "2040-06-12T04:32:12" cannot be parsed;
that's only true on platforms with a 32-bit time_t. Here's a fix:
Index: ext/wddx/tests/001.phpt
RCS file: /repository/php-src/ext/wddx/tests/001.phpt,v
retrieving revision 1.1.2.2
diff -u -r1.1.2.2 001.phpt
--- ext/wddx/tests/001.phpt 14 Aug 2003 17:25:17 -0000 1.1.2.2
+++ ext/wddx/tests/001.phpt 13 Oct 2003 13:48:27 -0000
@@ -18,7 +18,7 @@
["aDateTime2"]=>
int(329607132)
["aDateTime3"]=>
- string(19) "2040-06-12T04:32:12"
- string(12) "NotADateTime"
["aBoolean"]=>
bool(true)
["anArray"]=>
Index: ext/wddx/tests/wddx.xml
===================================================================
RCS file: /repository/php-src/ext/wddx/tests/wddx.xml,v
retrieving revision 1.1.2.2
diff -u -r1.1.2.2 wddx.xml
--- ext/wddx/tests/wddx.xml 14 Aug 2003 17:25:17 -0000 1.1.2.2
+++ ext/wddx/tests/wddx.xml 13 Oct 2003 13:48:27 -0000
@@ -20,7 +20,7 @@
<dateTime>1980-06-12T04:32:12</dateTime>
</var>
<var name='aDateTime3'>
-
<dateTime>2040-06-12T04:32:12</dateTime>
-
<dateTime>NotADateTime</dateTime> </var> <var name='aBoolean'> <boolean value='true'/