PHP 8.3.0 RC 6 available for testing

xdiff_string_bpatch

(PECL xdiff >= 1.5.0)

xdiff_string_bpatchPatch a string with a binary diff

说明

xdiff_string_bpatch(string $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.

参见

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top