Menu Riverview Church

IS_FINITE

Finds whether a value is a legal finite number

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

PHP