Determine class type with these 10 PHP variable testing functions
Unlike many of its counterparts, PHP is not a strictly typed language. Essentially, this means that a developer doesn't need to explicitly set the type (number, string, Boolean) of a variable before using it. Instead, the PHP interpreter automatically detects variable type based on the information stored within a variable.
While this makes programming in PHP very easy, it does have an important drawback: when you do actually need to test a variable's type, a loosely typed language can be somewhat confusing to deal with. Luckily, the developers of PHP knew this and therefore included a toolkit of functions designed specifically to test variables and find out if they belong to a particular character class - that is, whether they contains strings, integers, objects or Booleans.
This list outlines the more useful functions available in this category and provides explanations and usage examples.
Top Related posts:
- 10 Perl CPAN modules for manipulating specific file formats
- Top Ten Open Source,Ajax/DHTML Librearies For Web Developer
- 10 useful Perl modules for network programmers
- XNA: Make your own XBOX games in 10 steps
- Top 10 CSS Editors

Social Links
Thanks for stopping by to check out this list. We hope you've found what
you need. Please feel free to use the links below to share this list with others.