xdiff_string_bdiff
xdiff_string_diff_binary
xdiff Funkcje
PHP Manual

# xdiff_string_bpatch

(PECL xdiff >= 0.2.0)

xdiff_string_bpatch — Patch a string with a binary diff

### Opis

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.

### Parametry

`str`

  The original binary string.

`patch`

  The binary patch string.

### Zwracane wartości

Returns the patched string, or `FALSE` on error.

### Zobacz też:

- xdiff_string_bdiff() - Make binary diff of two strings
- xdiff_string_rabdiff() - Make binary diff of two strings using the Rabin's polynomial fingerprinting algorithm

xdiff_string_bdiff
xdiff_string_diff_binary
xdiff Funkcje
PHP Manual