is_numeric

(PHP 4 , PHP 5)

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

Popis

bool is_numeric ( mixed var )

Finds whether the given variable is numeric.

Seznam parametrů

var

The variable being evaluated.

Návratové hodnoty

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

Viz také

is_bool()
is_null()
is_float()
is_int()
is_string()
is_object()
is_array()