Text_Diff_Engine_string

SummerySummery

Parses unified or context diffs output from eg. the diff utility.

Syntax

Text_Diff_Engine_string

DescriptionDescription

Example:

$patch = file_get_contents('example.patch');
$diff = new Text_Diff('string', array($patch));
$renderer = new Text_Diff_Renderer_inline();
echo $renderer->render($diff);

Copyright 2005 Örjan Persson o@42mm.org Copyright 2005-2010 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.

SourceSource

File: wp-includes/Text/Diff/Engine/string.php


			

ChangelogChangelog

Changelog
Version Description
0.2.0 Introduced.
Scroll to Top