is_infinite
Description
The is_infinite of Math for PHP finds whether a value is infinite.
The is_infinite of Math for PHP also finds any value too big to fit into a float..
Syntax
is_infinite ( float $val ) : bool
Parameters
val
The value to check
Return
TRUE if val is infinite, else FALSE.
Examples
1
<? $val = log(0); $return = is_infinite($val); echo $return;
1