PHP Compare Objects: Compare objects using reflection

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 293 All time: 7,394 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: 18423 in Peru Peru
Week rank: 209 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  
This week:0
All time:7,394
This week:1,201Up
User Comments (1)
Nice overkill.
8 years ago (Artur Graniszewski)

For more information send a message to info at phpclasses dot org.