PHP Classes

PHP Compare Objects: Compare objects using reflection

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 295 All time: 7,456 This week: 206Up
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: 18463 in Peru Peru
Week rank: 136 Up1 in Peru Peru Up

  Files folder image Files (2)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:295
This week:0
All time:7,456
This week:206Up
User Comments (1)
Nice overkill.
11 years ago (Artur Graniszewski)
20%StarStar