is_numeric

(PHP 4 >= 4.0.0)

is_numeric --  Finds whether a variable is a number or a numeric string

Description

bool is_numeric (mixed var)

Returns TRUE if var is a number or a numeric string, FALSE otherwise.

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