Menu Samaritan's Purse

IS_INFINITE

Finds whether a value is infinite

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

PHP