We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
is_infinite - Whether a value is infinite
bool is_infinite( float $x )
is_infinite() returns true if x is infinite and false otherwise.
x - The number to process. It can be a scalar or an array.
true* or false depending on whether x is infinite. If x is an array, the return value will also be an array.
is_infinite() does not return -1 when x is -INF.
1.0 and above.