Exibir a lista drop-down

gettype()

« gettimeofday | gmdate »
<?php
$string 
gettype (
    
  // mixed $var
);
?>
resultado
$string = 'integer'
Exemplos
#1 gettype  (1)
#2 gettype  (1.1)
#3 gettype  (null)
#4 gettype  ("foo")
Veja também
function_exists, is_array, is_bool, is_callable, is_float, is_int, is_null, is_numeric, is_scalar, is_string, method_exists, settype