PHP Classes
Icontem

Class: adebug


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Sylvain Rabot  >  adebug  >  Download  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: adebug Support forum
Base name: adebug
Description: Check whether variable values match expected types
Version: 0.0.1
Required PHP version: 5.0.0
License: GNU Lesser General Public License (LGPL)
All time users: 284 users
All time rank: 4410
Week users: 0 users
Week rank: 3456
 
  Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Applications   Files Files  

Author

Picture of Sylvain Rabot
Name: Sylvain Rabot <e-mail contact>
Published packages: 6 Browse this author's classes Browse this author's classes
Country: France France - PHP jobs in France
Home page: http://absynthe.is.free.fr/
Age: 22
All time rank: 321
Week rank: 285

Innovation Award

PHP Programming Innovation award nominee
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

Groups

Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Debug Debug data dumping, bug detection and reporting View top rated classes
Group folder image Testing Tools to help verifying that software works as expected View top rated classes

Detailed description

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.

User ratings

There are not enough user ratings to display for this class.

Applications that use this class

No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

Files

File Role Description
Plain text file adebug.class.php Class main class
Download all files: adebug.tar.gz adebug.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products