string xdiff_string_diff ( string $old_data
, string $new_data
[, int $context
= 3 [, bool $minimal
= FALSE
]] )
xdiff_string_diff — Make unified diff of two strings
-
old_data
-
First string with data. It acts as "old" data.
-
new_data
-
Second string with data. It acts as "new" data.
-
context
-
Indicates how many lines of context you want to include in the diff result.
-
minimal
-
Set this parameter to
TRUE
if you want to minimalize the size of the result (can take a long time).