XDIFF_STRING_BPATCH(3) 1 XDIFF_STRING_BPATCH(3)
xdiff_string_bpatch - Patch a string with a binary diff
SYNOPSIS
string xdiff_string_bpatch (string $str, string $patch)
DESCRIPTION
Patches a string $str with a binary $patch. This function accepts patches created both via xdiff_string_bdiff(3) and xdiff_string_rabd-
iff(3) functions or their file counterparts.
PARAMETERS
o $str
- The original binary string.
o $patch
- The binary patch string.
RETURN VALUES
Returns the patched string, or FALSE on error.
SEE ALSO
xdiff_string_bdiff(3), xdiff_string_rabdiff(3).
PHP Documentation Group XDIFF_STRING_BPATCH(3)