I am working with the Text_Diff PEAR package to describe short text documents, where a Text_Diff object is created using a list of words in each document, separated by spaces. I was hoping to save the diff in the database and then apply it when the file is downloaded again. Is there an easy way to apply this diff, or do I need to write a function to parse it?
source
share