Documentation

XdiffEngine
in package
implements DiffEngineInterface

Class used internally by Diff to actually compute the diffs.

This class uses the xdiff PECL package (http://pecl.php.net/package/xdiff) to compute the differences between the two input arrays.

Copyright 2004-2017 Horde LLC (http://www.horde.org/)

See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.

Tags
author

Jon Parise jon@horde.org

Interfaces, Classes, Traits and Enums

DiffEngineInterface
Interface for Diff Engines

Table of Contents

$fromLines  : array<string|int, mixed>
$toLines  : array<string|int, mixed>
__construct()  : mixed
diff()  : OperationList
Create a list of differences

Properties

$fromLines

private array<string|int, mixed> $fromLines

Methods

__construct()

public __construct(array<string|int, mixed> $fromLines, array<string|int, mixed> $toLines) : mixed
Parameters
$fromLines : array<string|int, mixed>
$toLines : array<string|int, mixed>
Return values
mixed

Search results