The PHP is_finite() function checks whether a value is finite or not, and returns true (1) if the value is a finite number, or false/nothing if not.
Syntax
is_finite(value)
The PHP is_finite() function checks whether a value is finite or not, and returns true (1) if the value is a finite number, or false/nothing if not.
is_finite(value)