PHP funkce is_numeric()
Dostupnost ve verzích: PHP 4.0
Finds whether a variable is a number or a numeric string
Parametry
| Parametr | Datový typ | Výchozí hodnota | Poznámka |
|---|---|---|---|
$var |
mixed |
není | The variable being evaluated. |
Návratové hodnoty
bool
true if var is a number or a numeric string, false otherwise.