<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.wddx.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'zh',
  ),
  'this' => 
  array (
    0 => 'function.wddx-packet-start.php',
    1 => 'wddx_packet_start',
    2 => 'Starts a new WDDX packet with structure inside it',
  ),
  'up' => 
  array (
    0 => 'ref.wddx.php',
    1 => 'WDDX 函数',
  ),
  'prev' => 
  array (
    0 => 'function.wddx-packet-end.php',
    1 => 'wddx_packet_end',
  ),
  'next' => 
  array (
    0 => 'function.wddx-serialize-value.php',
    1 => 'wddx_serialize_value',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/wddx/functions/wddx-packet-start.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<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, PHP 7)</p><p class="refpurpose"><span class="refname">wddx_packet_start</span> &mdash; <span class="dc-title">Starts a new WDDX packet with structure inside it</span></p>

 </div>
 
 <div id="function.wddx-packet-start-refsynopsisdiv">
  <div class="warning"><strong class="warning">警告</strong><p class="simpara">该函数已在 PHP 7.4.0 中
<em>移除</em>。</p></div>
 </div>

 <div class="refsect1 description" id="refsect1-function.wddx-packet-start-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>wddx_packet_start</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$comment</code><span class="initializer"> = ?</span></span>): <span class="type"><a href="language.types.resource.php" class="type resource">resource</a></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">参数</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">comment</code></dt>
     <dd>
      <p class="para">
       An optional comment string.
      </p>
     </dd>
    
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.wddx-packet-start-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   Returns a packet ID for use in later functions, or <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> on error.
  </p>
 </div>

</div><?php manual_footer($setup); ?>