check type of variable php code example
Example 1: typeof php
gettype($var);
Example 2: find type in php
gettype($u)
Example 3: check type in php
gettype ( mixed $var ) : string
gettype($var);
gettype($u)
gettype ( mixed $var ) : string