SimpleDiff is a PHP class wrapper for a simple diffing algorithm.
$old = ['some','array','of','stuff']; $new = ['some','array','of','other','stuff']; $diff = \CodeDruids\SimpleDiff::diff($old, $new); $oldHtml = "Some <b>HTML</b> you simply <i>cannot</i> ignore!"; $newHtml = "Some <b>HTML</b> you just <i>cannot</i> ignore!"; $htmlDiff = \CodeDruids\SimpleDiff::htmlDiff($oldHtml, $newHmtl);
If you believe you have found a bug, please report it using the GitHub issue tracker, or better yet, fork the library and submit a pull request.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4