PHP Classes
elePHPant
Icontem

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    
Last Updated Ratings Unique User Downloads Download Rankings
2009-11-08 (6 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 300 All time: 6,988 This week: 865Up
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 <contact>
Classes: 10 packages by
Country: Viet Nam Viet Nam
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:300
This week:0
All time:6,988
This week:865Up