PHP Classes

Checker: Validate the values of function arguments

Recommend this page to a friend!
  Info   View files Documentation   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2014-08-18 (2 years ago) RSS 2.0 feedNot enough user ratingsTotal: 138 This week: 1All time: 8,326 This week: 821Up
Version License PHP version Categories
checker 1.0BSD License5.3PHP 5, Validation, Traits
Description Author

This class can validate the values of function arguments.

It can take the name and the value of arguments passed to a function and check the values to verify if they are of the expected types.

Currently it can check if the argument value is a resource, callable, boolean, array, non-empty array, string, string or null, non-empty string, non-empty string or null, non-negative integer, non-negative integer or null, positive integer, positive integer or null, float, positive float, object, object or null.

When the argument does not match the expected type, the class throws an exception.

  Performance   Level  
Name: wapmorgan is available for providing paid consulting. Contact wapmorgan .
Classes: 22 packages by
Country: Russian Federation Russian Federation
Age: ???
All time rank: 102733 in Russian Federation Russian Federation
Week rank: 14 Up1 in Russian Federation Russian Federation Up
Innovation award
Innovation award
Nominee: 8x

Winner: 1x

  Files folder image Files  
File Role Description
Plain text file Checker.php Class Class file
Accessible without login Plain text file Doc. Documentation

 Version Control Unique User Downloads Download Rankings  
This week:1
All time:8,326
This week:821Up