how to get the instance of an object in php code example Example: php get class name of this get_class($this);