note 77045 added to ref.wddx
| From: | no at spam dot thx | Date: | Sun, 12 Aug 2007 21:09:51 +0000 |
| Subject: | note 77045 added to ref.wddx | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-129428@lists.php.net to get a copy of this message | ||
To bradburn at kiwi dot de:
PHP is only capable of serializing properly variables which match one of its native (scalar) types
(See http://php.net/types). Which means that only variables of
type booleans, integers, floating point numbers, string and NULL will be serialized properly.
I think there are two exceptions though:
- arrays are serialized by processing them recursively, so if its only composed of the above
mentioned types, you should be fine.
- floating point numbers and integers may use the same representation while serialized in WDDX (I
don't know much about WDDX, so I'm not 100% sure about this statement).
An interesting case would be whether objects can be serialized or not...
----
Server IP: 69.147.83.197
Probable Submitter: 89.159.49.90
----
Manual Page -- http://www.php.net/manual/en/ref.wddx.php
Edit -- https://master.php.net/note/edit/77045
Del: integrated -- https://master.php.net/note/delete/77045/integrated
Del: useless -- https://master.php.net/note/delete/77045/useless
Del: bad code -- https://master.php.net/note/delete/77045/bad+code
Del: spam -- https://master.php.net/note/delete/77045/spam
Del: non-english -- https://master.php.net/note/delete/77045/non-english
Del: in docs -- https://master.php.net/note/delete/77045/in+docs
Del: other reasons-- https://master.php.net/note/delete/77045
Reject -- https://master.php.net/note/reject/77045
Search -- https://master.php.net/manage/user-notes.php