LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Syndicated Linux News (https://www.linuxquestions.org/questions/syndicated-linux-news-67/)
-   -   LXer: Simple PHP Diff Script - Shows Line Changes in Bold Text (https://www.linuxquestions.org/questions/syndicated-linux-news-67/lxer-simple-php-diff-script-shows-line-changes-in-bold-text-947178/)

LXer 05-28-2012 01:01 AM

LXer: Simple PHP Diff Script - Shows Line Changes in Bold Text
 
Published at LXer:

"Here's a simple PHP diff script I wrote for no particular reason. Its output is similar to how Wikipedia does it, though admittedly, a lot simpler and inferior. It works really well for predictable comparisons, like two files that are mostly the same or a directory listing where some files have been renamed, added or removed. However, I have no use for it, I was simply trying for proof of concept. Even if I have no use for it, somebody might, right? Anyway, here's how it works."

Read More...


All times are GMT -5. The time now is 11:59 PM.