diff-match-patch icon indicating copy to clipboard operation
diff-match-patch copied to clipboard

PHP port of the Google's diff-match-patch library (https://github.com/google/diff-match-patch)

Results 4 diff-match-patch issues
Sort by recently updated
recently updated
newest added

After switching from UCS-2LE to UCS-4LE, the internal encoding is not updated but left on UCS-2LE. This means that `mb_*` functions using the default internal encoding will not return the...

Small optimization for unicodeChr() and unicodeOrd().

Fix string comparison to use operator `===` as PHP tries numeric comparison whenever possible for operator `==`: ``` assert('0' == '00'); assert(null == ''); use DiffMatchPatch\Diff; $dmp = new Diff();...

Hi there! There's an issue in `DiffToolkit` where it's calling `mb_strlen(mb_strlen($longtext))` this produces an error on newer php versions (using `declare(strict_types=1)`) because `mb_strlen` must receive a string as an argument....