is_numeric
(PHP 4 , PHP 5)
is_numeric --
Finds whether a variable is a number or a numeric string
Описание
bool
is_numeric ( mixed var )
Finds whether the given variable is numeric.
Список параметров
- var
The variable being evaluated.
Возвращаемые значения
Returns TRUE if var is a number or a numeric
string, FALSE otherwise.