note 52243 deleted from ref.wddx by didou
| From: | didou@php.net | Date: | Sat, 03 Feb 2007 16:19:00 +0000 |
| Subject: | note 52243 deleted from ref.wddx by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-122677@lists.php.net to get a copy of this message | ||
Note Submitter: npac at nospam dot spikesource dot com
----
Contrary to a note on this page, the "datetime" type is actually supported by PHP. It
turns out that the parser expects the type to be encoded exactly as <dateTime>. The string
comparison is case sensitive - which means that if the WDDX packet contains <datetime> or
<DATETIME>, then that particular var will simply be ignored.
Of course, this can easily be worked around to replace all <datetime> and </datetime>
tags in the WDDX package with <dateTime> and </dateTime> tags before passing it on to
the wddx_deserialize() function.