<?php abstract class Abs { public function __toString() { return strtolower((new \ReflectionClass($this))->getShortName()); } } class Test extends Abs { } $x = new Test; echo Test;
You have javascript disabled. You will not be able to edit any code.