September 2001
Intermediate to advanced
768 pages
32h 45m
English
mixed wddx_deserialize(string packet) Deserializes a WDDX packet.
Returns:
PHP variable or an array containing the deserialized packets; FALSE on error
Description:
wddx_deserialize() transforms a WDDX packet into PHP variables. Scalar packets
(ARRAY, BOOLEAN, CHAR, CODE, NULL, NUMBER, STRING) are transformed into their direct or approximate PHP types; other packets (STRUCT) are deserialized into a PHP array. Some WDDX datatypes may not be supported in PHP (for example, in version 4.0, RECORDSET is not supported).
Version:
Existing since versions 3.0.7 and 4.0
Example:
/* OUTPUT string(3) "FOO" */ $packet = "<wddxPacket version='1.0'><header/><data><var name='foo'><string>FOO</string></var></data></wddxPacket>"; ... |
Read now
Unlock full access