Login   Register  
PHP Classes
elePHPant
Icontem

Reference Collection: Keep track of references to variable values

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   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2009-11-08 (4 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 298 All time: 6,530 This week: 2,192Up
Version License PHP version Categories  
reference-collection 1.0MIT/X Consortium License5.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: 26
All time rank: 311 in Viet Nam Viet Nam
Week rank: 105 Down1 in Viet Nam Viet Nam Equal
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:298All time:6,530
 This week:0This week:2,192Up