Posts Tagged ‘string’

How to compare text and mark differences using PHP

I was looking for a simple class which will compare to strings and return a result with marked differences. What chars or words where removed and which were added. Just like wiki compare revisions. Actually i googled a lot and finally found a result: The main class which do mostly all the job is Text_Diff, [...]