mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-06-18 05:26:57 +08:00
89 lines
3.4 KiB
HTML
89 lines
3.4 KiB
HTML
<!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>Alias of xdiff_string_bpatch</title>
|
|
</head>
|
|
<body class="docs"><div id="layout">
|
|
<div id="layout-content"><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 >= 0.2.0)</p><p class="refpurpose"><span class="refname">xdiff_string_patch_binary</span> — <span class="dc-title">Alias of xdiff_string_bpatch</span></p>
|
|
|
|
</div>
|
|
|
|
<div class="refsect1 description" id="refsect1-function.xdiff-string-patch-binary-description">
|
|
<h3 class="title">说明</h3>
|
|
<div class="methodsynopsis dc-description">
|
|
<span class="methodname"><strong>xdiff_string_patch_binary</strong></span>
|
|
( <span class="methodparam"><span class="type">string</span> <code class="parameter">$str</code></span>
|
|
, <span class="methodparam"><span class="type">string</span> <code class="parameter">$patch</code></span>
|
|
) : <span class="type">string</span></div>
|
|
|
|
<p class="para rdfs-comment">
|
|
Patches a string <code class="parameter">str</code> with a binary <code class="parameter">patch</code>.
|
|
This function accepts patches created both via <span class="function"><a href="xdiff_string_bdiff.html" class="function">xdiff_string_bdiff()</a></span>
|
|
and <span class="function"><a href="xdiff_string_rabdiff.html" class="function">xdiff_string_rabdiff()</a></span> functions or their file counterparts.
|
|
</p>
|
|
<p class="para">
|
|
Starting with version 1.5.0 this function is an alias of <span class="function"><a href="xdiff_string_bpatch.html" class="function">xdiff_string_bpatch()</a></span>.
|
|
</p>
|
|
</div>
|
|
|
|
|
|
<div class="refsect1 parameters" id="refsect1-function.xdiff-string-patch-binary-parameters">
|
|
<h3 class="title">参数</h3>
|
|
<p class="para">
|
|
<dl>
|
|
|
|
|
|
<dt>
|
|
<code class="parameter">str</code></dt>
|
|
|
|
<dd>
|
|
|
|
<p class="para">
|
|
The original binary string.
|
|
</p>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt>
|
|
<code class="parameter">patch</code></dt>
|
|
|
|
<dd>
|
|
|
|
<p class="para">
|
|
The binary patch string.
|
|
</p>
|
|
</dd>
|
|
|
|
|
|
</dl>
|
|
|
|
</p>
|
|
</div>
|
|
|
|
|
|
<div class="refsect1 returnvalues" id="refsect1-function.xdiff-string-patch-binary-returnvalues">
|
|
<h3 class="title">返回值</h3>
|
|
<p class="para">
|
|
Returns the patched string, or <strong><code>FALSE</code></strong> on error.
|
|
</p>
|
|
</div>
|
|
|
|
|
|
<div class="refsect1 seealso" id="refsect1-function.xdiff-string-patch-binary-seealso">
|
|
<h3 class="title">参见</h3>
|
|
<p class="para">
|
|
<ul class="simplelist">
|
|
<li class="member"><span class="function"><a href="xdiff_string_bpatch.html" class="function" rel="rdfs-seeAlso">xdiff_string_bpatch()</a> - Patch a string with a binary diff</span></li>
|
|
<li class="member"><span class="function"><a href="xdiff_string_bdiff.html" class="function" rel="rdfs-seeAlso">xdiff_string_bdiff()</a> - Make binary diff of two strings</span></li>
|
|
<li class="member"><span class="function"><a href="xdiff_string_rabdiff.html" class="function" rel="rdfs-seeAlso">xdiff_string_rabdiff()</a> - Make binary diff of two strings using the Rabin's polynomial fingerprinting algorithm</span></li>
|
|
</ul>
|
|
</p>
|
|
</div>
|
|
|
|
|
|
</div></div></div></body></html> |