is_infinite(): Finds whether a value is infinite

bool is_infinite ( float $input )
$inputRequired : Number to check.
The output is TRUE if $input is infinite, else False.

Example :

echo is_infinite(2);
echo "<br>";
echo is_infinite(5/10);
echo "<br>";
echo is_infinite(log(0)); Output 1 

Subscribe to our YouTube Channel here


* indicates required
Subscribe to plus2net

    Post your comments , suggestion , error , requirements etc here .

    We use cookies to improve your browsing experience. . Learn more
    HTML MySQL PHP JavaScript ASP Photoshop Articles FORUM . Contact us
    ©2000-2022 All rights reserved worldwide Privacy Policy Disclaimer