Parses unified or context diffs output from eg. the diff utility.
Example:
$Horde: framework/Text_Diff/Diff/Engine/string.php,v 1.5.2.7 2009/07/24 13:04:43 jan Exp $
Copyright 2005 Örjan Persson <o@42mm.org> Copyright 2005-2009 The Horde Project (http://www.horde.org/)
See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://opensource.org/licenses/lgpl-license.php.
Located in /Text_Diff/Diff/Engine/string.php (line 25)
Parses a unified or context diff.
First param contains the whole diff and the second can be used to force a specific diff type. If the second parameter is 'autodetect', the diff will be examined to find out which type of diff this is.
Parses an array containing the context diff.
Parses an array containing the unified diff.
Documentation generated on Sun, 30 Jan 2011 05:22:26 +0000 by phpDocumentor 1.4.3