PHP function is_finite()
Availability in versions: PHP 4.2.0
Finds whether a value is a legal finite number
Parameters
| Parameter | Data type | Default value | Note |
|---|---|---|---|
$val |
float |
not | The value to check |
Return values
bool
true if val is a legal finite number within the allowed range for a PHP float on this platform, else false.