Login   Register  
PHP Classes

PHP Compare Objects: Compare objects using reflection

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  
2013-04-08 (1 year ago) RSS 2.0 feedNot enough user ratingsTotal: 290 All time: 6,710 This week: 1,407Up
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: 22324 in Peru Peru
Week rank: 296 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:290All time:6,710
 This week:0This week:1,407Up
 User Comments (1)  
Nice overkill.
1 year ago (Artur Graniszewski)