is_infinite

It checks whether a value is a legal infinite number

Example

<?php
echo is_infinite(log(0));
?>

Output

1

Share