PHP Classes
elePHPant
Icontem

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: 292 This week: 1All time: 6,733 This week: 1,467Up
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: 22103 in Peru Peru
Week rank: 611 Up3 in Peru Peru Equal

  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:292All time:6,733
 This week:1This week:1,467Up
 User Comments (1)  
 
Nice overkill.
1 year ago (Artur Graniszewski)
20%StarStar