wddx_serialize_value
PHP function
Edit on GitHub ✎
(PHP 4, PHP 5, PHP 7)
Serialize a single value into a WDDX packet
Function-7-4-0
Description
wddx_serialize_value(mixed $var, [string $comment]): string
Creates a WDDX packet from a single given value.
Parameters
varThe value to be serialized
commentAn optional comment string that appears in the packet header.
Return Values
Returns the WDDX packet, or false on error.