Text_Diff
General API for generating and formatting diffs - the differences between two sequences of strings.
The PHP diff code used in this package was originally written by Geoffrey T. Dairiki and is used with his permission.
$Horde: framework/Text_Diff/Diff.php,v 1.10 2004/11/01 11:51:15 mdjukic Exp $
Located in /inc/class_diff.php (line 22)
| Class | Description |
|---|---|
| Text_MappedDiff | $Horde: framework/Text_Diff/Diff.php,v 1.10 2004/11/01 11:51:15 mdjukic Exp $ |
Computes diffs between sequences of strings.
Returns the array of differences.
Gets the final set of lines.
This reconstructs the $to_lines parameter passed to the constructor.
Gets the original set of lines.
This reconstructs the $from_lines parameter passed to the constructor.
Checks for an empty diff.
Computes the length of the Longest Common Subsequence (LCS).
This is mostly for diagnostic purposed.
Checks a diff for validity.
This is here only for debugging purposes.
Removes trailing newlines from a line of text. This is meant to be used with array_walk().
Documentation generated on Thu, 31 May 2007 23:33:57 -0400 by phpDocumentor 1.3.2