Check whether a variable is of type integer or not: <?php $a = 32; echo "a is " . is_int($a) . "<br>"; $b = 0; echo "b is " . is_int($b) . "<br>";
確定! 回上一頁