find the class name of a variable in php code example Example: php get class name of this get_class($this);