is_numeric
(PHP 4, PHP 5)
is_numeric --
Finds whether a variable is a number or a numeric string
Beskrivelse
bool
is_numeric ( mixed var )
Finds whether the given variable is numeric.
Parameterliste
- var
The variable being evaluated.
Returneringsværdier
Returns TRUE if var is a number or a numeric
string, FALSE otherwise.