note 52243 added to ref.wddx

From: Date: Tue, 26 Apr 2005 01:31:07 +0000
Subject: note 52243 added to ref.wddx
Groups: php.notes 
Request: Send a blank email to php-notes+get-88542@lists.php.net to get a copy of this message
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. ---- Manual Page -- http://www.php.net/manual/en/ref.wddx.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+52243 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+52243&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+52243&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+52243&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+52243&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+52243&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+52243&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#88542) next »