is_int

(PHP 3, PHP 4 >= 4.0.0)

is_int -- Find whether a variable is an integer

Description

bool is_int (mixed var)

Returns TRUE if var is an integer FALSE otherwise.

See also is_bool(), is_float(), is_integer(), is_string(), is_array(), and is_object().