| Recommend this page to a friend! |
| Author | ||
![]() |
|
Innovation award![]() Nominee: 7x Winner: 1x | |||||||||||||||||||
| Classes of Artur Graniszewski | > | Java and C# compatible object autoboxing for PHP | > | Download .zip .tar.gz | > | > | > | |||||
|
|||||||||||||||||||||||
| Groups | ||||||
| Dependents | Applications | Related links | ||||||
| Groups | ||
| PHP 5 | Classes using PHP 5 specific features | View top rated classes | |
| Data types | Modeling and manipulating data types | View top rated classes |
![]() |
|
| Innovation Award | ||
![]() 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 |
| User ratings | ||
| Ratings | ||||||||
|---|---|---|---|---|---|---|---|---|
| All time: | ||||||||
| Month: | ||||||||
| Packages that need this class | ||
| Class | Dependency | Why it is needed |
|---|---|---|
| Java compatible UTF-8 Data Manipulation | (required only by the java_datatypes_with_autoboxing.php file) This class provides JAVA autoboxing mechanism for the UTF-8 Strings |
| Applications that use this class | ||
| Link | Description |
|---|---|
| Java compatible UTF-8 String class using autoboxing | Java compatible UTF-8 Data Manipulation |
| Project homepage | Technical description of this class |
| Related links | ||
| Link | Description |
|---|---|
| Link to PHP.NET autoboxing RFC | Link to page created by PHP core developers describing the PHP autoboxing mechanism |
| Project homepage | Technical description of this class (english version) |
| Autoboxing and unboxing (Wikipedia) | Description of autoboxing mechanism on Wikipedia |
| Project homepage (polish version) | Technical description of this class (polishversion) |
| File | Role | Description |
|---|---|---|
| Class | Main class | |
| Class | Example: Wrappers for the primitive PHP datatypes | |
| Example | Example script | |
| Example | Example showing strong data type enforcing and implementing wrappers for all PHP primitive datatypes | |
| Example | Example script: type enforcing, mathematical operations on integer _objects_ | |
| Lic. | LGPL Licence |
| Download all files: datatypes_autoboxing.tar.gz datatypes_autoboxing.zip |