I'm using PHP in an application I'm developing, where I have a text editor.
In this text editor, with each change made, before saving, I create a record with the original data (that is, how they are before the change is complete).
In addition, I have now come up with a demand where I need to calculate the percentage change of texts as well as figure out which excerpt each user has edited.
I think I'm halfway to knowing every bit edited through this question: Compare php texts
a>But I need to know: Is there any way to calculate the percentage of difference (or similarity) between two texts in PHP?
How can I do this?