<?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 => 'ja',
  ),
  'this' => 
  array (
    0 => 'function.xdiff-string-bpatch.php',
    1 => 'xdiff_string_bpatch',
    2 => '文字列にバイナリ diff 形式のパッチを適用する',
  ),
  'up' => 
  array (
    0 => 'ref.xdiff.php',
    1 => 'xdiff 関数',
  ),
  'prev' => 
  array (
    0 => 'function.xdiff-string-bdiff-size.php',
    1 => 'xdiff_string_bdiff_size',
  ),
  'next' => 
  array (
    0 => 'function.xdiff-string-diff.php',
    1 => 'xdiff_string_diff',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'ja',
    'path' => 'reference/xdiff/functions/xdiff-string-bpatch.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.xdiff-string-bpatch" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">xdiff_string_bpatch</h1>
  <p class="verinfo">(PECL xdiff &gt;= 1.5.0)</p><p class="refpurpose"><span class="refname">xdiff_string_bpatch</span> &mdash; <span class="dc-title">文字列にバイナリ diff 形式のパッチを適用する</span></p>

 </div>
 
 <div class="refsect1 description" id="refsect1-function.xdiff-string-bpatch-description">
  <h3 class="title">説明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>xdiff_string_bpatch</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">
   文字列 <code class="parameter">str</code> に、バイナリ形式のパッチ
   <code class="parameter">patch</code> を適用します。
   この関数は、<span class="function"><a href="function.xdiff-string-bdiff.php" class="function">xdiff_string_bdiff()</a></span> 関数あるいは
   <span class="function"><a href="function.xdiff-string-rabdiff.php" class="function">xdiff_string_rabdiff()</a></span>
   そしてそれぞれのファイル版が作成したパッチを受け取ることができます。
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.xdiff-string-bpatch-parameters">
  <h3 class="title">パラメータ</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">str</code></dt>
     <dd>
      <p class="para">
       元のバイナリ文字列。
      </p>
     </dd>
    
    
     <dt><code class="parameter">patch</code></dt>
     <dd>
      <p class="para">
       バイナリパッチ文字列。
      </p>
     </dd>
    
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.xdiff-string-bpatch-returnvalues">
  <h3 class="title">戻り値</h3>
  <p class="para">
   パッチ適用後の文字列、あるいはエラー時に <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> を返します。
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.xdiff-string-bpatch-seealso">
  <h3 class="title">参考</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="function"><a href="function.xdiff-string-bdiff.php" class="function" rel="rdfs-seeAlso">xdiff_string_bdiff()</a> - 2 つの文字列のバイナリ diff を作成する</span></li>
    <li><span class="function"><a href="function.xdiff-string-rabdiff.php" class="function" rel="rdfs-seeAlso">xdiff_string_rabdiff()</a> - 2 つの文字列のバイナリ diff を、Rabin の polynomial fingerprinting アルゴリズムで作成する</span></li>
   </ul>
  </p>
 </div>


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