메소드 | 설명 | |
---|---|---|
__construct ( string $engine, array $params ) | Computes a diff between sequences of strings. |
public __construct ( string $engine, array $params ) | ||
$engine | string | Name of the diffing engine to use. 'auto' will automatically select the best. |
$params | array | Parameters to pass to the diffing engine: - Two arrays, each containing the lines from a file. - Two arrays with the same size as the first parameters. The elements are what is actually compared when computing the diff. |