Home > PHP > Function > xdiff > xdiff_string_diff_binary()

xdiff_string_diff_binary()

xdiff_string_diff_binary - Alias of xdiff_string_bdiff

Syntax

string xdiff_string_diff_binary ()

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 result or FALSE if an internal error happened.