wddx_unserialize
mixed wddx_unserialize(string packet)
Deserializes a WDDX packet.
Returns:
PHP variable or an array containing the deserialized packets; FALSE on error
Description:
This function is an alias for wddx_deserialize().
Version:
Existing since versions 3.0.7 and 4.0
Example:
Deserialize a WDDX packet
/* OUTPUT string(3) "FOO" */ $packet = "<wddxPacket version='1.0'><header/><data><var name='foo'><string>FOO</string></var></data></wddxPacket>"; $foo = wddx_unserialize($packet); print_r($foo); |
Get PHP Functions Essential Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.