xdiff_string_patch_binary

(PECL xdiff >= 0.2.0) Alias of xdiff_string_bpatch string xdiff_string_patch_binary ( 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. Starting with version 1.5.0 this function is an alias of xdiff_string_bpatch(). Parameters:

enchant_broker_free_dict

(PHP 5 >= 5.3.0, PHP 7, PECL enchant >= 0.1.0 ) Free a dictionary resource bool enchant_broker_free_dict ( resource $dict ) Free a dictionary resource. Parameters: dict Dictionary resource. Returns: Returns TRUE on success or FALSE on failure. See also: e

xdiff_string_rabdiff

(PECL xdiff >= 1.5.0) Make binary diff of two strings using the Rabin's polynomial fingerprinting algorithm string xdiff_string_bdiff ( string $old_data, string $new_data ) Makes a binary diff of two strings and returns the result. The difference between this function and xdiff_string_bdiff() is different algorithm used which should result in faster execution and smaller diff produced. This function works with both text a

xdiff_string_bdiff_size

(PECL xdiff >= 1.5.0) Read a size of file created by applying a binary diff int xdiff_string_bdiff_size ( string $patch ) Returns a size of a result file that would be created after applying binary patch to the original file. Parameters: patch The binary patch created by xdiff_string_bdiff() or xdiff_string_rabdiff() function. Returns: Returns

xdiff_string_bpatch

(PECL xdiff >= 1.5.0) Patch a string with a binary diff 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. Parameters: str The original binary string. patch

xdiff_string_bdiff

(PECL xdiff >= 1.5.0) Make binary diff of two strings string xdiff_string_bdiff ( string $old_data, string $new_data ) 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(). Parameters: old_data First string with binary data. It

xdiff_string_diff

(PECL xdiff >= 0.2.0) Make unified diff of two strings string xdiff_string_diff ( string $old_data, string $new_data [, int $context = 3 [, bool $minimal = false ]] ) Makes an unified diff containing differences between old_data string and new_data string and returns it. The resulting diff is human-readable. An optional context parameter specifies how many lines of context should be added around each change. Setting min

xdiff_string_diff_binary

(PECL xdiff >= 0.2.0) Alias of xdiff_string_bdiff string xdiff_string_bdiff ( string $old_data, string $new_data ) 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(). Starting with version 1.5.0 this function is an alias of xdiff_string_bdiff(). Parameters:

xdiff_string_merge3

(PECL xdiff >= 0.2.0) Merge 3 strings into one mixed xdiff_string_merge3 ( string $old_data, string $new_data1, string $new_data2 [, string &$error ] ) Merges three strings into one and returns the result. The old_data is an original version of data while new_data1 and new_data2 are modified versions of an original. An optional error is used to pass any rejected parts during merging process. Parameter

xdiff_file_patch_binary

(PECL xdiff >= 0.2.0) Alias of xdiff_file_bpatch bool xdiff_file_patch_binary ( string $file, string $patch, string $dest ) Patches a file with a binary patch and stores the result in a file dest. This function accepts patches created both via xdiff_file_bdiff() or xdiff_file_rabdiff() functions or their string counterparts. Starting with version 1.5.0 this function is an alias of xdiff_file_bpatch(). P