gettype php code example
Example 1: typeof php
gettype($var);
Example 2: find type in php
gettype($u)
Example 3: getttype php
gettype ( mixed $var ) : string
gettype ("SALUT") => string
gettype (2) => integer
...etc ...
"bool"
"integer"
"double"
"array"
"object"
"resource"
"NULL"
"unknown type"