PHP.nl

xdiff_string_bpatch

xdiff_string_bpatch

Patch a string with a binary diff

string **xdiff_string_bpatch** string $str string $patch

Patches a string with a binary . This function accepts patches created both via
and functions or their file counterparts. str``patch``xdiff_string_bdiff``xdiff_string_rabdiff

strThe original binary string.

patchThe binary patch string.

Returns the patched string, or false on error.

xdiff_string_bdiff``xdiff_string_rabdiff