• PHP Video Tutorials

PHP - xdiff string_diff_binary() Function



xdiff_string_diff_binary() function is an alias of xdiff_string_bdiff().

Syntax

string xdiff_string_bdiff( string $old_data , string $new_data )

xdiff_string_diff_binary() function can make a binary diff of two strings and return the result. This function can work with both text and binary data. The resulting patch can be later applied using xdiff_string_bpatch()/xdiff_file_bpatch().

xdiff_string_diff_binary() function can return a string with result or false if an internal error has occurred.

php_function_reference.htm
Advertisements