Recommend this page to a friend! | ![]() |
![]() |
All requests ![]() |
> | What is the best PHP class to compare strings? | > | Request new recommendation | > | ![]() |
> | ![]() |
||
by Calmette - 11 months ago (2015-02-27) diff compare string
+5 | I want to compare strings and get the differences between them. |
+1 |
This class has similar functionality. It does not render the differences for you, but provides an optimized compressed version (to save space) of the differences and also can patch back to the original string from the optimized differences. However, if you need the class to render the differences you should prefer the above class of Manuel Lemos. |
+2 |
This class can compare two strings and return the list of changes to turn one string into the other, like lines or characters to add or removed. It can also present the string changes in HTML so you can view them in a Web page. |
Recommend package | |
|