<?php class A { public function thing() { var_dump(get_class($this)); } } class B extends A {} $b = new B(); $b->thing();
You have javascript disabled. You will not be able to edit any code.