function DiffFormatter::_lines in Diff 7.3
Same name and namespace in other branches
- 5.2 DiffEngine.php \DiffFormatter::_lines()
- 5 DiffEngine.php \DiffFormatter::_lines()
- 6.2 DiffEngine.php \DiffFormatter::_lines()
- 6 DiffEngine.php \DiffFormatter::_lines()
- 7.2 DiffEngine.php \DiffFormatter::_lines()
3 calls to DiffFormatter::_lines()
1 method overrides DiffFormatter::_lines()
File
- ./
DiffEngine.php, line 922 - A PHP diff engine for phpwiki. (Taken from phpwiki-1.3.3)
Class
- DiffFormatter
- A class to format Diffs
Code
function _lines($lines, $prefix = ' ') {
foreach ($lines as $line) {
echo "{$prefix} {$line}\n";
}
}