<?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 )
Parameter | DESCRIPTION |
---|---|
$input | Required : Number to check. |
Author
🎥 Join me live on YouTubePassionate 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.