Login   Register  
PHP Classes
elePHPant
Icontem

Simple Compare: Compare binary files

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2011-02-16 (3 years ago) RSS 2.0 feedNot enough user ratingsTotal: 325 All time: 6,453 This week: 1,474Up
Version License PHP version Categories  
simple-compare 1.0Artistic License5.1PHP 5, Files and Folders
Description Author  

This class can compare binary files.

It can read two or more binary files, split them in segments of data and compare the files segment by segment.

The class returns an array with the information about whether the files are the same or different.

Innovation Award  
PHP Programming Innovation award nominee
March 2011
Number 4
File comparison solutions are often meant to be used with text files. Usually they return the lines that were changed.

Binary files do not have the concept of lines, but they can be divided is blocks of any size.

This class implements a solution for comparing binary files in terms of data blocks.

Manuel Lemos
Picture of Pashkov Denis Igorevich
Name: Pashkov Denis Igorevich <contact>
Classes: 21 packages by
Country: Ukraine Ukraine
Age: 24
All time rank: 3189 in Ukraine Ukraine
Week rank: 256 Up7 in Ukraine Ukraine Up
Innovation award
Innovation award
Nominee: 10x

Winner: 1x

  Files folder image Files  
File Role Description
Plain text file index.php Example exmaple
Plain text file vbinary.php Class main class

 Version Control Unique User Downloads Download Rankings  
 0%Total:325All time:6,453
 This week:0This week:1,474Up
 User Comments (1)  
 
Don't work
3 years ago (Snowly)
0%Star