xdiff_file_diff()
xdiff_file_diff - Make unified diff of two files
Syntax
bool xdiff_file_diff ()
Arguments
-
Description
Makes an unified diff containing differences between old_file and new_file and stores it in dest file. The resulting file is human-readable. An optional context parameter specifies how many lines of context should be added around each change. Setting minimal parameter to true will result in outputting the shortest patch file possible (can take a long time).
Version
PHP PECL xdiff >= 0.2.0
Return value
Returns TRUE on success or FALSE on failure.