显示下拉菜单

gettype()

« gettimeofday | gmdate »
<?php
$string 
gettype (
    
  // mixed $var
);
?>
结果
$string = 'integer'
示例
#1 gettype  (1)
#2 gettype  (1.1)
#3 gettype  (null)
#4 gettype  ("foo")
另请参阅
function_exists, is_array, is_bool, is_callable, is_float, is_int, is_null, is_numeric, is_scalar, is_string, method_exists, settype