Показать выпадающий список

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