is_int
Find whether a variable is an integer
Description
boolis_int
mixedvar
Returns &true; if var is an integer
&false; otherwise.
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.
See also is_bool,
is_float,
is_integer,
is_numeric,
is_string,
is_array, and
is_object.