PHP.nl

wddx_serialize_value

wddx_serialize_value

Serialize a single value into a WDDX packet

string **wddx_serialize_value** mixed $var string $comment

Creates a WDDX packet from a single given value.

varThe value to be serialized

commentAn optional comment string that appears in the packet header.

Returns the WDDX packet, or false on error.