public DiffEngine::diff($from_lines, $to_lines)
File
core/lib/Drupal/Component/Diff/Engine/DiffEngine.php, line 36
Class
DiffEngine Class used internally by Diff to actually compute the diffs.
Namespace
Drupal\Component\Diff\Engine
Code
public function diff($from_lines, $to_lines) {
$n_from = sizeof($from_lines);
$n_to = sizeof($to_lines);
$this->xchanged = $this->ychanged = array();
$this->xv = $this->yv = array();
$this->xind = $this->yind = array();
u