php get type of class inside itself code example Example: php get class name of this get_class($this);