Php/docs/function.xdiff-string-patch-binary

From Get docs

xdiff_string_patch_binary

(PECL xdiff >= 0.2.0)

xdiff_string_patch_binaryAlias of xdiff_string_bpatch


Description

xdiff_string_patch_binary ( 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.

Starting with version 1.5.0 this function is an alias of xdiff_string_bpatch().


Parameters

str
The original binary string.
patch
The binary patch string.


Return Values

Returns the patched string, or FALSE on error.


See Also