XDIFF_STRING_DIFF_BINARY(3) 1 XDIFF_STRING_DIFF_BINARY(3)
xdiff_string_diff_binary - Alias of xdiff_string_bdiff
SYNOPSIS
string xdiff_string_bdiff (string $old_data, string $new_data)
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(3)/xdiff_file_bpatch(3).
Starting with version 1.5.0 this function is an alias of xdiff_string_bdiff(3).
PARAMETERS
o $old_data
- First string with binary data. It acts as "old" data.
o $new_data
- Second string with binary data. It acts as "new" data.
RETURN VALUES
Returns string with result or FALSE if an internal error happened.
SEE ALSO
xdiff_string_bdiff(3), xdiff_string_bpatch(3).
PHP Documentation Group XDIFF_STRING_DIFF_BINARY(3)