is_numeric

(PHP4 >= 4.0RC1)

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

Description

int is_numeric (mixed var)

Returns true if var is a number or a numeric string, false otherwise.

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


Hosted by Tonec Inc.