is_finite
Description
Syntax
is_finite ( float $val ) : bool
Parameters
val
The value to check
Return
TRUE if val is a legal finite number within the allowed range for a PHP float on this platform, else FALSE.
Examples
1
<? $val = 0; $return = is_finite($val); echo $return; ?>
1