is_infinite(): Finds whether a value is infinite or not

<?Php
echo is_infinite(2);
echo "<br>";
echo is_infinite(5/10);
echo "<br>";
echo is_infinite(log(0)); Output 1 
?>
Syntax
bool is_infinite ( float $input )
ParameterDESCRIPTION
$inputRequired : Number to check.
The output is TRUE if $input is infinite, else False.
Math Functions is_finite(): to findout legal finite number or not decbin() Binary equivalent of decimal number
Subhendu Mohapatra — author at plus2net
Subhendu Mohapatra

Author

🎥 Join me live on YouTube

Passionate about coding and teaching, I publish practical tutorials on PHP, Python, JavaScript, SQL, and web development. My goal is to make learning simple, engaging, and project‑oriented with real examples and source code.



Subscribe to our YouTube Channel here



plus2net.com











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