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