Easy Tutorial
❮ Php Is_Float Function Func Cal Cal Days In Month ❯

PHP is_finite() Function

PHP Math Reference Manual

Example

Determine if a value is finite:


Definition and Usage

The is_finite() function checks if a value is finite.

If the specified value is finite, the function returns true (1). Otherwise, it returns false/nothing.

A value is considered finite if it is within the range allowed for floating-point numbers on the native platform of PHP.


Syntax

Parameter Description
value Required. Specifies the value to check.

Technical Details

Return Value: Returns TRUE if the value is finite. Otherwise, returns FALSE.
Return Type: Boolean
--- ---
PHP Version: 4.2+
--- ---
❮ Php Is_Float Function Func Cal Cal Days In Month ❯