 November 2007
Number 3 |
Type hinting is a feature introduced in PHP 5 that lets developers specify the type of the parameters expected by each function.
This way, application bugs may be detected earlier, when they pass function arguments of the wrong type.
Unfortunately, the current type hinting implementation only supports verification of parameters that are objects, and more recently arrays.
This package provides a solution to overcome this limitation by enabling also the verification of arguments of basic types like integer, string, float, etc..
This way type hinting can become more useful to detect bugs in broader range of applications with class functions that take basic type values as arguments.
Manuel Lemos |
| Ratings | Utility |
Consistency |
Documentation |
Examples |
Tests |
Videos |
Overall |
Rank |
| All time: |
Perfect (100.0%) |
Good (90.0%) |
- |
Good (90.0%) |
- |
- |
Sufficient (68.0%) |
283 |
| Month: |
Not yet rated by the users |
| |
Packages that need this class |
|
|
| Class |
Dependency |
Why it is needed |
| Generic Array |
Recommended |
Nice addition to create arrays of native types (eg: ArrayOfInt) |
| |
Applications that use this class |
|
|
No application links were specified for this class.
 If you know an application of this package, send a message to the author to add a link here.
| |
Files |
|
|
|
|