Sophie

Sophie

distrib > Mageia > 4 > i586 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 12690

php-manual-en-5.5.7-1.mga4.noarch.rpm

<!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>Produce diff of two XML documents</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="xmldiff-base.construct.html">XMLDiff\Base::__construct</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="xmldiff-base.merge.html">XMLDiff\Base::merge</a></div>
 <div class="up"><a href="class.xmldiff-base.html">XMLDiff\Base</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="xmldiff-base.diff" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">XMLDiff\Base::diff</h1>
  <p class="verinfo">(PECL xmldiff &gt;= 0.8.0)</p><p class="refpurpose"><span class="refname">XMLDiff\Base::diff</span> &mdash; <span class="dc-title">Produce diff of two XML documents</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-xmldiff-base.diff-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">abstract</span> <span class="modifier">public</span> <span class="type"><a href="language.pseudo-types.html#language.types.mixed" class="type mixed">mixed</a></span> <span class="methodname"><strong>XMLDiff\Base::diff</strong></span>
    ( <span class="methodparam"><span class="type"><a href="language.pseudo-types.html#language.types.mixed" class="type mixed">mixed</a></span> <code class="parameter">$from</code></span>
   , <span class="methodparam"><span class="type"><a href="language.pseudo-types.html#language.types.mixed" class="type mixed">mixed</a></span> <code class="parameter">$to</code></span>
   )</div>

  <p class="para rdfs-comment">
   Abstract diff method to be implemented by inheriting classes.
  </p>
  <p class="para">
   The basic purpose of this method is to produce diff of the two documents. The param order matters and will produce different output.
  </p>

 </div>


 <div class="refsect1 parameters" id="refsect1-xmldiff-base.diff-parameters">
  <h3 class="title">Parameters</h3>
  <dl>

   <dt>

    <span class="term"><em><code class="parameter">from</code></em></span>
    <dd>

     <p class="para">
      Source XML document. 
     </p>
    </dd>

   </dt>

   <dt>

    <span class="term"><em><code class="parameter">to</code></em></span>
    <dd>

     <p class="para">
      Target XML document.
     </p>
    </dd>

   </dt>

  </dl>

 </div>


 <div class="refsect1 returnvalues" id="refsect1-xmldiff-base.diff-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   Implementation dependent.
  </p>
 </div>



</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="xmldiff-base.construct.html">XMLDiff\Base::__construct</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="xmldiff-base.merge.html">XMLDiff\Base::merge</a></div>
 <div class="up"><a href="class.xmldiff-base.html">XMLDiff\Base</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>