PHP Classes

Reference Collection: Keep track of references to variable values

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 301 All time: 7,404 This week: 571Up
Version License PHP version Categories
reference-collection 1.0MIT/X Consortium ...5.2PHP 5, Data types
Description 

Author

This class can be used to keep track of references to variable values.

It can manage a collection of references to variables by adding and removing them to a list of reference values.

The class can also check if a reference value already belongs to the collection.

Innovation Award
PHP Programming Innovation award nominee
December 2009
Number 7


Prize: One copy of VS.PHP
References are a sort of pointers that point to the value of a variable. They can be treated as variables but changing their values just changes the original variable they point to.

This class provides a solution to manipulate collections of references to variables.

It can be useful if you want to manipulate the values of variables without duplicating the memory space that would take if you used copies of the original values instead of references.

Manuel Lemos
Picture of Bao Nguyen Quoc
Name: Bao Nguyen Quoc is available for providing paid consulting. Contact Bao Nguyen Quoc .
Classes: 10 packages by
Country: Viet Nam Viet Nam
Age: 36
All time rank: 341 in Viet Nam Viet Nam
Week rank: 416 Down7 in Viet Nam Viet Nam Down
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files  
File Role Description
Plain text file ReferenceCollection.php Class main class
Accessible without login Plain text file test.php Example test script

 Version Control Unique User Downloads Download Rankings  
 0%
Total:301
This week:0
All time:7,404
This week:571Up