Ready to get started?Download WordPress


How do I compare php files (5 posts)

  1. rvblog
    Posted 10 years ago #

    Is there an editor (or other way) that will compare two php files with each other.


    I take a clean version of index.php

    I then make changes to index.php for my theme - for the purpose of this topic call it index2.php

    Is there an editor (or other way) to open both files at the same time ( index.php and index2.php) and then compare the contents of one file with the other to see where any changes were made

    For example:

    changes made in the index2.php file - compared to the original index.php

    Hopefully, I explained this properly


  2. Mark (podz)
    Support Maven
    Posted 10 years ago #

    winmerge on windows

  3. Yngwin
    Posted 10 years ago #

    diff will do, but I don't know how you like your commandline :-)
    If you're on Windows, you can use WinMerge: http://winmerge.sourceforge.net/

  4. rvblog
    Posted 10 years ago #

    Command Line ? - forget that LOL

    WinMerge - Exactly what I'm looking for.


  5. banjolawyer
    Posted 9 years ago #

    extremely useful...

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.