xdiff_string_diff Make unified diff of two strings Description mixedxdiff_string_diff stringstr1 stringstr2 intcontext boolminimal xdiff_string_diff makes unified diff of strings str1 and str2. context indicated how many lines of context you want to include in diff result. Set minimal to &true; if you want to minimalize size of diff (can take a long time). This function doesn't work well with binary strings. To make diff of binary strings use xdiff_string_diff_binary. Returns string with result or &false; if an internal error happened. <function>xdiff_string_diff</function> example The following code makes unified diff of two articles. ]]> See also xdiff_file_diff.