adebug 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.
adebug 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.
- PHP 5.0.0
More popular Debug
- 29.5 KB
- 03/08/2008 16:38:50