is_numeric
(PHP 4, PHP 5)
is_numeric --
Finds whether a variable is a number or a numeric string
Opis
bool
is_numeric ( mixed var )
Finds whether the given variable is numeric.
Parametry
- var
The variable being evaluated.
Zwracane wartości
Returns TRUE if var is a number or a numeric
string, FALSE otherwise.