PHP: is_infinite() function
Description
The is_infinite() function is used to find whether a value is infinite or not.
Version:
(PHP 4 and above)
Syntax:
is_infinite(num)
Parameter:
Name | Description | Required / Optional |
Type |
---|---|---|---|
num | The value to be checked. | Required | Float |
Return value:
TRUE if num is infinite number otherwise FALSE.
Value Type: Boolean
Pictorial Presentation
Example:
Output:
1
View the example in the browser
See also
- Weekly Trends and Language Statistics
- Weekly Trends and Language Statistics