PHP Classes

PHP Reference Variable Debug: Check if a variable is a reference to another one

Recommend this page to a friend!
  Info   View files Example   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2018-09-23 (25 days ago) RSS 2.0 feedNot yet rated by the usersTotal: 53 This week: 8All time: 9,295 This week: 54Up
Version License PHP version Categories
refdebug 1.0.0Custom (specified...5PHP 5, Debug, Language
Description Author

This class can check if a variable is a reference to another one.

It can take a given variable and determines if it is an actual variable or a reference to another variable.

The class can also get the number of references that point to a given variable.

  Performance   Level  
Name: zinsou A.A.E.Mo´se is available for providing paid consulting. Contact zinsou A.A.E.Mo´se .
Classes: 46 packages by
Country: Benin Benin
Age: 28
All time rank: 10051 in Benin Benin
Week rank: 5 Up1 in Benin Benin Equal
Innovation award
Innovation award
Nominee: 18x

Winner: 2x

PHP Reference Debug is a very simple class providing static methods to check whether
or not a variable is a reference .It also allows to get a  a more precise value of the
reference count than the PHP debug_zval_dump.The package is written in pure PHP and 
has no dependency.

Remarks: the first argument of the methods must always be get_defined_vars to really
and properly defined the scope of the checked variable.(see the how to use example) 

Bug reporting to or in the forum.

  Files folder image Files  
File Role Description
Accessible without login Plain text file license.txt Lic. license file
Accessible without login Plain text file readme.txt Doc. readme
Plain text file Reference.class.php Class class source
Accessible without login Plain text file testRefDebug.php Example example script

 Version Control Unique User Downloads Download Rankings  
This week:8
All time:9,295
This week:54Up