<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.xdiff.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'fr',
  ),
  'this' => 
  array (
    0 => 'function.xdiff-string-patch-binary.php',
    1 => 'xdiff_string_patch_binary',
    2 => 'Alias de xdiff_string_bpatch',
  ),
  'up' => 
  array (
    0 => 'ref.xdiff.php',
    1 => 'Fonctions xdiff',
  ),
  'prev' => 
  array (
    0 => 'function.xdiff-string-patch.php',
    1 => 'xdiff_string_patch',
  ),
  'next' => 
  array (
    0 => 'function.xdiff-string-rabdiff.php',
    1 => 'xdiff_string_rabdiff',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'fr',
    'path' => 'reference/xdiff/functions/xdiff-string-patch-binary.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.xdiff-string-patch-binary" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">xdiff_string_patch_binary</h1>
  <p class="verinfo">(PECL xdiff &gt;= 0.2.0)</p><p class="refpurpose"><span class="refname">xdiff_string_patch_binary</span> &mdash; <span class="dc-title">Alias de <span class="function"><a href="function.xdiff-string-bpatch.php" class="function">xdiff_string_bpatch()</a></span></span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.xdiff-string-patch-binary-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>xdiff_string_patch_binary</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$str</code></span>, <span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$patch</code></span>): <span class="type"><a href="language.types.string.php" class="type string">string</a></span></div>

  <p class="para rdfs-comment">
   Patche une chaîne <code class="parameter">str</code> avec un <code class="parameter">patch</code>
   binaire. Cette fonction accepte les patchs créés avec les fonctions
   <span class="function"><a href="function.xdiff-string-bdiff.php" class="function">xdiff_string_bdiff()</a></span> et <span class="function"><a href="function.xdiff-string-rabdiff.php" class="function">xdiff_string_rabdiff()</a></span>
   ou leur équivalent en fichiers.
  </p>
  <p class="para">
   Depuis la version 1.5.0, cette fonction est un alias de la fonction
   <span class="function"><a href="function.xdiff-string-bpatch.php" class="function">xdiff_string_bpatch()</a></span>.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.xdiff-string-patch-binary-parameters">
  <h3 class="title">Liste de paramètres</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">str</code></dt>
     <dd>
      <p class="para">
       La chaîne binaire originale.
      </p>
     </dd>
    
    
     <dt><code class="parameter">patch</code></dt>
     <dd>
      <p class="para">
       Le patch binaire.
      </p>
     </dd>
    
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.xdiff-string-patch-binary-returnvalues">
  <h3 class="title">Valeurs de retour</h3>
  <p class="para">
   Retourne la chaîne patchée, ou <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> si une erreur survient.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.xdiff-string-patch-binary-seealso">
  <h3 class="title">Voir aussi</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="function"><a href="function.xdiff-string-bpatch.php" class="function" rel="rdfs-seeAlso">xdiff_string_bpatch()</a> - Patche une cha&icirc;ne avec un diff binaire</span></li>
    <li><span class="function"><a href="function.xdiff-string-bdiff.php" class="function" rel="rdfs-seeAlso">xdiff_string_bdiff()</a> - Cr&eacute;e un diff binaire de 2 cha&icirc;nes</span></li>
    <li><span class="function"><a href="function.xdiff-string-rabdiff.php" class="function" rel="rdfs-seeAlso">xdiff_string_rabdiff()</a> - Cr&eacute;e un diff binaire de 2 cha&icirc;nes en utilisant l'algorithme polynomial de Rabin des empreintes digitales</span></li>
   </ul>
  </p>
 </div>


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