xdiff_string_bdiff()
xdiff_string_bdiff - Make binary diff of two strings
Syntax
string xdiff_string_bdiff ()
Arguments
-
Description
Makes a binary diff of two strings and returns the result. This function works with both text and binary data. Resulting patch can be later applied using xdiff_string_bpatch() / xdiff_file_bpatch().
Version
PHP PECL xdiff >= 0.2.0
Return value
Returns string with binary diff containing differences between "old" and "new" data or FALSE if an internal error occurred.