PHP ʖ²ἯTH
º/A
Ղ 7. Ѝ
½鉜
PHP ֧³ְ˖֔ʼ Ѝ¡£
˄֖±ꁿ Ѝ£º
ջЍ£¨integer£©
¸¡µ㐍£¨float£©
ʽש£¨array£©
¶ԏbject£©
Դ£¨resource£©
NULL
»캍£¨mixed£©
ʽז£¨number£©
»¡£¨callback£©
$bool = TRUE; // a boolean $str = "foo"; // a string $int = 12; // an integer echo gettype($bool); // prints out "boolean" echo gettype($str); // prints out "string" // If this is an integer, increment it by four if (is_int($int)) {$int += 4;} // If $bool is a string, print it out // (does not print out anything) if (is_string($bool)) {echo "String: $bool";}
º/A
ưµ㼯A
עʍ
ɏһ¼¶