PHP Classes

PHP Compare Objects: Compare objects using reflection

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2013-04-08 (2 years ago) RSS 2.0 feedNot enough user ratingsTotal: 293 All time: 6,909 This week: 1,201Up
Version License PHP version Categories  
compare-objects 1Public Domain5PHP 5, Language
Description Author  

This class can compare objects using reflection.

It uses reflection to get the objects class names, variables and their properties.

The class may make the class variables accessible if their are private or protected, so it can retrieve and compare the variable values.

Picture of Jorge Prado
Name: Jorge Prado <contact>
Classes: 2 packages by
Country: Peru Peru
Age: ???
All time rank: 20843 in Peru Peru
Week rank: 345 Up2 in Peru Peru Up

  Files folder image Files  
File Role Description
Plain text file compareobject.php Class static class for compare objects
Accessible without login Plain text file example.php Example use example

 Version Control Unique User Downloads Download Rankings  
 0%Total:293All time:6,909
 This week:0This week:1,201Up
 User Comments (1)  
Nice overkill.
2 years ago (Artur Graniszewski)