is_int()
is_int - Find whether the type of a variable is integer
Syntax
bool is_int (
mixed $var)
Arguments
- var - The variable being evaluated.
Description
Finds whether the type of the given variable is integer.
Version
PHP 4, 5
Return value
Returns TRUE if var is an integer, FALSE otherwise.