tryphp_func_var_is_float.php:
"; $b = 0; echo "b is " . is_float($b) . "
"; $c = 32.5; echo "c is " . is_float($c) . "
"; $d = "32"; echo "d is " . is_float($d) . "
"; $e = true; echo "e is " . is_float($e) . "
"; $f = "null"; echo "f is " . is_float($f) . "
"; $g = 1.e3; echo "g is " . is_float($g) . "
"; ?>
a is
b is
c is 1
d is
e is
f is
g is 1