Inspired by https://github.com/nikic/PHP-Parser/tree/36a6dcd04e7b0285e8f0868f44bd4927802f7df1
Copyright (c) 2011, Nikita Popov All rights reserved.
Implements the Myers diff algorithm.
Methods | ||
---|---|---|
public
|
__construct(self::TYPE_* $type, mixed $old, mixed $new)
|
# |
Constants | ||
---|---|---|
public
|
TYPE_KEEP = 0
|
# |
public
|
TYPE_REMOVE = 1
|
# |
public
|
TYPE_ADD = 2
|
# |
public
|
TYPE_REPLACE = 3
|
# |
Properties | |||
---|---|---|---|
public
|
self::TYPE_*
|
$type
|
# |
public
|
mixed
|
$old
|
# |
public
|
mixed
|
$new
|
# |