array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'en', ), 'this' => array ( 0 => 'function.wddx-serialize-value.php', 1 => 'wddx_serialize_value', ), 'up' => array ( 0 => 'ref.wddx.php', 1 => 'WDDX Functions', ), 'prev' => array ( 0 => 'function.wddx-packet-start.php', 1 => 'wddx_packet_start', ), 'next' => array ( 0 => 'function.wddx-serialize-vars.php', 1 => 'wddx_serialize_vars', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/wddx/functions/wddx-serialize-value.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 4, PHP 5, PHP 7)
wddx_serialize_value — Serialize a single value into a WDDX packet
This function was REMOVED in PHP 7.4.0.
Creates a WDDX packet from a single given value.
var
The value to be serialized
comment
An optional comment string that appears in the packet header.
Returns the WDDX packet, or false
on error.