PHP - Manual: xdiff_string_bpatch
2024-12-22
(PECL xdiff >= 1.5.0)
xdiff_string_bpatch — Patch a string with a binary diff
$str
, string $patch
): string
Patches a string str
with a binary patch
.
This function accepts patches created both via xdiff_string_bdiff()
and xdiff_string_rabdiff() functions or their file counterparts.
str
The original binary string.
patch
The binary patch string.
Returns the patched string, or false
on error.
官方地址:https://www.php.net/manual/en/function.xdiff-string-bpatch.php