<?php
bool is_finite ( float $num )
where,
$num = The value to check
?>
<?php
function isfinite($val)
{
if(is_finite($val))
{
echo 'The input value ' . $val .
' must be considered as a finite value.<br><br>';
}
else
{
echo 'The entered value ' . $val .
' should NOT be considered as a finite value.<br><br>';
}
}
$v01 = 3.1416;
$v02 = '18.448E+464';
isfinite($v01);
isfinite($v02);
?>