Login   Register  
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!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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 (3 years ago) RSS 2.0 feedStarStarStarStar 64%Total: 293 This week: 1All time: 6,570 This week: 1,463Up
Version License PHP version Categories  
datatypes_autoboxing 1.2GNU Lesser General Publ...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
Name: Artur Graniszewski is available for providing paid consulting. Contact Artur Graniszewski .
Classes: 13 packages by
Country: Poland Poland
Age: 32
All time rank: 3325 in Poland Poland
Week rank: 148 Up5 in Poland Poland Equal
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%1Total:293All time:6,570
 This week:1This week:1,463Up
User Ratings User Comments (1)  
 All time
Utility:100%StarStarStarStarStarStar
Consistency:66%StarStarStarStar
Documentation:-
Examples:83%StarStarStarStarStar
Tests:-
Videos:-
Overall:64%StarStarStarStar
Rank:496