is_infinite()
is_infinite - Finds whether a value is infinite
Syntax
bool is_infinite (
float $val)
Arguments
Description
Returns TRUE if val is infinite (positive or negative), like the result of log(0)or any value too big to fit into a float on this platform.
Version
PHP 4.2.0, 5
Return value
TRUE if val is infinite, else FALSE.