<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.xmldiff-file.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'zh',
  ),
  'this' => 
  array (
    0 => 'xmldiff-file.merge.php',
    1 => 'XMLDiff\\File::merge',
    2 => 'Produce merged XML document',
  ),
  'up' => 
  array (
    0 => 'class.xmldiff-file.php',
    1 => 'XMLDiff\\File',
  ),
  'prev' => 
  array (
    0 => 'xmldiff-file.diff.php',
    1 => 'XMLDiff\\File::diff',
  ),
  'next' => 
  array (
    0 => 'book.xml.php',
    1 => 'XML 解析器',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/xmldiff/xmldiff-file/merge.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="xmldiff-file.merge" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">XMLDiff\File::merge</h1>
  <p class="verinfo">(PECL xmldiff &gt;= 0.8.0)</p><p class="refpurpose"><span class="refname">XMLDiff\File::merge</span> &mdash; <span class="dc-title">Produce merged XML document</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-xmldiff-file.merge-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>XMLDiff\File::merge</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$src</code></span>, <span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$diff</code></span>): <span class="type"><a href="language.types.string.php" class="type string">string</a></span></div>

  <p class="para rdfs-comment">
   Create new XML document based on diffs and source document.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-xmldiff-file.merge-parameters">
  <h3 class="title">参数</h3>
  <dl>
   
    <dt><code class="parameter">src</code></dt>
    <dd>
     <p class="para">
      Path to the source XML document.
     </p>
    </dd>
   
   
    <dt><code class="parameter">diff</code></dt>
    <dd>
     <p class="para">
      Path to the XML document with the diff information.
     </p>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-xmldiff-file.merge-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   String with the new XML document or NULL. 
  </p>
 </div>



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