运行 ❯
获取您的
自有 PHP
服务器
×
更改方向
更改主题,深色/浅色
前往 Spaces
<!DOCTYPE html> <html> <body> <?php $a = 32; echo "a is " . is_integer($a) . "<br>"; $b = 0; echo "b is " . is_integer($b) . "<br>"; $c = 32.5; echo "c is " . is_integer($c) . "<br>"; $d = "32"; echo "d is " . is_integer($d) . "<br>"; $e = true; echo "e is " . is_integer($e) . "<br>"; $f = "null"; echo "f is " . is_integer($f) . "<br>"; ?> </body> </html>
a 是 1
b 是 1
c 是
d 是
e 是
f 是