Patch a string with a binary diff

(PECL xdiff >= 1.5.0)

xdiff_string_bpatchPatch a string with a binary diff


string xdiff_string_bpatch ( string $str , string $patch )

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.

Список параметров


The original binary string.


The binary patch string.

Возвращаемые значения

Returns the patched string, or FALSE on error.

Смотрите также