Type Hint Class 1.0.0
Type Hint Class replaces the current PHP error handler, that performs enhanced type checking of the types of parameters when functions are called.
Several classes are provided to perform type checking of parameters of base types: boolean, float, integer, string, resource, callable.
There are additional classes for strict type checking of float and string values. These classes do not accept values of other types that could be promoted to types: integer float or string.
When the replacement error handler catches a recoverable error that corresponds to type checking mismatch, it checks the function declaration and calls the type checking class correspondent to the expected type of the parameter that triggered the error.
Requirements:
PHP 5.1 or higher
More popular Error Handling
- Exceptions Manager 1.5 (4 years, 2 months 24 days ago)
- Log watcher 1.0 (4 years, 8 months 3 days ago)
- My Error Log Parsing in PHP 1.0 (4 years, 8 months 4 days ago)
- PHS_Error 1.17 (4 years, 3 months 4 days ago)
- Log Writer 1.0 (2 years, 10 months 3 days ago)
Listing Files

StrictInt.php- 593 Bytes
- 09/24/2008 02:51:36

String.php- 841 Bytes
- 09/24/2008 02:51:36

Float.php- 801 Bytes
- 09/24/2008 02:51:36

TypeHint.php- 415 Bytes
- 09/24/2008 02:51:36

StrictFloat.php- 599 Bytes
- 09/24/2008 02:51:36

typehintclass.lib.php- 566 Bytes
- 09/24/2008 02:51:36

Resource.php- 595 Bytes
- 09/24/2008 02:51:36

Bool.php- 593 Bytes
- 09/24/2008 02:51:36

StrictString.php- 602 Bytes
- 09/24/2008 02:51:36

Int.php- 799 Bytes
- 09/24/2008 02:51:36

Callable.php- 595 Bytes
- 09/24/2008 02:51:36

TypeHintHandler.php- 4.7 KB
- 09/24/2008 02:51:36

example.php- 774 Bytes
- 09/24/2008 02:51:36
- FREE MySQL Cloud Database Super Simple, Zero-Management MySQL Cloud DB. Use It FREE!
- Pinterest clone Start your own pin board social network today. Get Pintastic and start your own pinterest clone network.
- MYRE Real Estate Software Professional Real Estate solutions by MYREPHP PROGRAMMING!
