PHP Classes
Icontem

Class: PHP Typification Class


  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!
      Classes of Dmitry Sheiko  >  PHP Typification Class  >  Download  >  Support forum Support forum  >  RSS 1.0 feed RSS 2.0 feed Latest changes  >  Stumble It! Stumble It!  >  Bookmark in del.icio.us Bookmark in del.icio.us  
  Supplied by   Group folder image Groups   Detailed description  
  Rate classes User ratings   Applications   Files Files  
  • Supplied by:

    Picture of Dmitry Sheiko
    Name: Dmitry Sheiko <e-mail contact>
    Published packages: 9
    Country: Belarus Belarus - PHP jobs in Belarus
    Home page: http://www.cmsdevelopment.com/
    Age: 34
    All time rank: 78
    Week rank: 62

    Browse this author's classes

  • Innovation Award:

    PHP Programming Innovation award nominee
    November 2005
    Number 8
    PHP is a loose typed language. This means that it is not required to declare types of variables and function arguments before they are used, like with strong typed languages.

    While loose typed languages are more flexible, they have the inconvenient of not allowing to detect bugs caused by mistakes of passing function argument values of the wrong type.

    This class provides a solution for verifying the correct type of function arguments at runtime. It can help detecting bugs that otherwise would go unnoticed.

    Manuel Lemos
  • Groups:

    Group folder image Language Constructs to assist in the language control View top rated classes
  • Detailed description:

    This class can be used to check the types of the parameters passed to a function at run time.

    It is meant to help detecting eventual bugs caused by passing function parameters of the wrong type.

    It can take the list of function arguments values and verify whether they match a function argument type specification defined by a string.

    If the type of one or more arguments does not match the expected type, the class triggers an error by dumping all the information about the class and the line of the function being called.
  • 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 sample.php Example Example
    Plain text file typification.class.php Class Typification Class
    Download all files: typevalidator.tar.gz typevalidator.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-2008 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products