PHP Type Checking
Functions used for type checking can be found under this tag category.
- Tutorial showing how to check if a variable is a number in PHP
- How to check if a variable is of the string type in PHP.
- Strict mode can be enabled to enforce type hinting for scalar types; strict mode can be enabled with a declare directive at the top of your index.php, ans will also apply to included files.