<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Starts a new WDDX packet with structure inside it</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.wddx-packet-end.html">wddx_packet_end</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.wddx-serialize-value.html">wddx_serialize_value</a></div> <div class="up"><a href="ref.wddx.html">WDDX Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="function.wddx-packet-start" class="refentry"> <div class="refnamediv"> <h1 class="refname">wddx_packet_start</h1> <p class="verinfo">(PHP 4, PHP 5)</p><p class="refpurpose"><span class="refname">wddx_packet_start</span> — <span class="dc-title">Starts a new WDDX packet with structure inside it</span></p> </div> <div class="refsect1 description" id="refsect1-function.wddx-packet-start-description"> <h3 class="title">Description</h3> <div class="methodsynopsis dc-description"> <span class="type">resource</span> <span class="methodname"><strong>wddx_packet_start</strong></span> ([ <span class="methodparam"><span class="type">string</span> <code class="parameter">$comment</code></span> ] )</div> <p class="para rdfs-comment"> Start a new WDDX packet for incremental addition of variables. It automatically creates a structure definition inside the packet to contain the variables. </p> </div> <div class="refsect1 parameters" id="refsect1-function.wddx-packet-start-parameters"> <h3 class="title">Parameters</h3> <p class="para"> <dl> <dt> <span class="term"><em><code class="parameter">comment</code></em></span> <dd> <p class="para"> An optional comment string. </p> </dd> </dt> </dl> </p> </div> <div class="refsect1 returnvalues" id="refsect1-function.wddx-packet-start-returnvalues"> <h3 class="title">Return Values</h3> <p class="para"> Returns a packet ID for use in later functions, or <strong><code>FALSE</code></strong> on error. </p> </div> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.wddx-packet-end.html">wddx_packet_end</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.wddx-serialize-value.html">wddx_serialize_value</a></div> <div class="up"><a href="ref.wddx.html">WDDX Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>