5

Do you know of a good method/script for finding the text 'diff'?

mck89
  • 18,918
  • 16
  • 89
  • 106
  • No, but I'd like to. +1 +Favourite – Pekka Feb 01 '10 at 17:08
  • You know what? There are dozens of this answer if you've ever google for it. Even already asked more than twice here in stackoverflow! http://stackoverflow.com/questions/112523/calculate-text-diffs-in-php http://stackoverflow.com/questions/736771/how-to-do-text-diff-using-php – Francis Feb 01 '10 at 17:12
  • See this [SO thread](http://stackoverflow.com/questions/736771/how-to-do-text-diff-using-php) – John Conde Feb 01 '10 at 17:10

1 Answers1

3

You might try using the PEAR Text_Diff it provides a text-based diff engine and renders for multiple diff output formats.

codaddict
  • 445,704
  • 82
  • 492
  • 529