is_int
]Podporované v PHP 4, PHP 5
Syntax
bool is_int ( mixed $var )
Popis
Príkaz jazyka PHP
is_int — Find whether a variable is an integer
Finds whether the given variable is an integer.
Note: To test if a variable is a number or a numeric string (such as form input, which is always a string), you must use is_numeric().
Parametre: $var - The variable being evaluated.
Return Values: Returns TRUE if var is an integer, FALSE otherwise.
Pozri aj
is_bool, is_float, is_numeric, is_string, is_array, is_object
]