Source Code:
(back to article)
<?php $number = INF; // Check if the number is infinite using the is_infinite() function if (is_infinite($number)) { echo "The number is infinite"; } else { echo "The number is not infinite"; } ?>
Result:
Report an issue