php-diff
php-diff copied to clipboard
A comprehensive library for generating differences between two strings in multiple formats (unified, side by side HTML etc). Based on the difflib implementation in Python
Why it can't compare two paragraphs word by word?
I would very much like the ability to diff recursive arrays and display them in a nice HTML side-by-side view. My particular use is in comparing versions of MongoDB records...
use "phpspec / php-diff" instead
I notice that this project was last updated 9 months ago and has several outstanding pull requests, so I'm reluctant to make this change if you're no longer maintaining this...
Could you please provide UTF-8 support?
Hi Chris Thanks for the great work!! just wondering if its possible to get the line numbers printed on the unified diffs (github style) ? Cheers Justin
Hello! I found that this code cannot be used to diff between unicode characters. When trying to do that, the highlighted lines became blank. This issue can be fixed easily...
bug fix