PHP Classes
elePHPant
Icontem

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    
Last Updated Ratings Unique User Downloads Download Rankings
2011-03-17 (5 years ago) RSS 2.0 feedStarStarStarStar 64%Total: 305 All time: 6,940 This week: 1,069Up
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 <contact>
Classes: 13 packages by
Country: Poland Poland
Innovation award
Innovation award
Nominee: 7x

Winner: 1x

Screenshots  
  • sample_TypeEnforcingSourcecode.png
  • sample_TypeEnforcing.png
  • example_output.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:305
This week:0
All time:6,940
This week:1,069Up
User Ratings User Comments (1)
 All time
Utility:100%StarStarStarStarStarStar
Consistency:66%StarStarStarStar
Documentation:-
Examples:83%StarStarStarStarStar
Tests:-
Videos:-
Overall:64%StarStarStarStar
Rank:705