Complete PHP Math Reference
The is_infinite() function returns true if the specified value is an infinite number, otherwise it returns nothing.
The value is infinite if it is too big to fit into a PHP float on this platform.
| Parameter | Description |
|---|---|
| x | Required. The value to check |
The output of the code above will be:
Complete PHP Math Reference
Your message has been sent to W3Schools.