PHP Classes

Java and C# compatible object autoboxing for PHP: Wrap string and integer values in objects

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 57%Total: 312 This week: 1All time: 7,294 This week: 571Up
Version License PHP version Categories
datatypes_autoboxing 1.2GNU Lesser Genera...5.1PHP 5, Data types
Description 

Author

This package can be used to wrap string and integer values in objects.

It provides functions that create objects to store references to either strings or integer values.

It can also cache references to value objects with the same values to avoid creating needless object copies.

Innovation Award
PHP Programming Innovation award nominee
November 2010
Number 3


Prize: One downloadable copy of PhpED Professional
In PHP integers and strings are first class data types but they are not exposed as objects.

You can have variables that represent the same value but each variable occupies a different memory space.

This package is capable of minimizing the memory used by multiple variables representing the same value by encapsulating basic data types in object references and avoid keeping multiple objects of the same value.

Manuel Lemos
Picture of Artur Graniszewski
  Performance   Level  
Name: Artur Graniszewski is available for providing paid consulting. Contact Artur Graniszewski .
Classes: 14 packages by
Country: Poland Poland
Age: 41
All time rank: 2874 in Poland Poland
Week rank: 420 Down13 in Poland Poland Down
Innovation award
Innovation award
Nominee: 7x

Winner: 1x

Screenshots  
  • sample_TypeEnforcingSourcecode.png
  • example_output.PNG
  • sample_TypeEnforcing.png
  • example_sourcecode2.PNG
  Files folder image Files  
File Role Description
Plain text file variablesManager.php Class Main class
Plain text file autoboxExampleClasses.php Class Example: Wrappers for the primitive PHP datatypes
Accessible without login Plain text file autoboxExample.php Example Example script
Accessible without login Plain text file autoboxExample_All...e_Types_wrapper.php Example Example showing strong data type enforcing and implementing wrappers for all PHP primitive datatypes
Accessible without login Plain text file autoboxExample_TypeEnforcing.php Example Example script: type enforcing, mathematical operations on integer _objects_
Accessible without login Plain text file licence.txt Lic. LGPL Licence

 Version Control Reuses Unique User Downloads Download Rankings  
 0%1
Total:312
This week:1
All time:7,294
This week:571Up
User Ratings User Comments (1)
 All time
Utility:87%StarStarStarStarStar
Consistency:62%StarStarStarStar
Documentation:-
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:57%StarStarStar
Rank:1595