get_class($this);
// create an object $bar = new foo(); // external call echo "Its name is " , get_class($bar) , " ";
get_class($object);