|
| diff ($from_lines, $to_lines) |
|
Definition at line 258 of file Diff.php.
◆ diff()
Text_Diff_Engine_xdiff::diff |
( |
|
$from_lines, |
|
|
|
$to_lines |
|
) |
| |
Definition at line 260 of file Diff.php.
References array.
263 $from_string = implode(
"\n", $from_lines);
264 $to_string = implode(
"\n", $to_lines);
267 $diff = xdiff_string_diff($from_string, $to_string, count($to_lines));
268 $diff = explode(
"\n", $diff);
279 foreach ($diff as $line) {
Create styles array
The data for the language used.
The documentation for this class was generated from the following file:
- Services/XHTMLValidator/validator/Text_Diff/Diff.php