Display the drop-down list

gettype()

« gettimeofday | gmdate »
<?php
$string 
gettype (
    
  // mixed $var
);
?>
Result
$string = 'NULL'
Examples
#1 gettype  (1)
#2 gettype  (1.1)
#3 gettype  (null)
#4 gettype  ("foo")
See also
function_exists, is_array, is_bool, is_callable, is_float, is_int, is_null, is_numeric, is_scalar, is_string, method_exists, settype