Innovation Award
 June 2007
Number 10 |
Sometimes PHP scripts may have bugs that lead them to generate variable values of different types that are expected.
This class can be used to test and debug PHP scripts by inserting checks that verify whether the types the variables that the scripts generate match the expected types.
It may save a lot of time detecting bugs introduced by changes made to different scripts that a site depends.
Manuel Lemos |
This class can be used to check the values of given PHP variables and verify whether they contain values of the expected types.
It provides many functions that can check whether given values are of the basic PHP types: array, boolean, double, integer and string.
It may also check whether the tested values are objects of a given class or sub-class, a callable function, a valid resource handle, the path of a directory, regular file, executable program, readable or writable file, an uploaded file, or symbolic link, a finite or infinite number, or not a number.
When the values do not match the expected types, the class triggers an error denoting the line and the script file where the check was performed.
| There are not enough user ratings to display for 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.