<?php namespace Example; class Base { static function whoAmI() { return static::class; } } class Child extends Base {} $what = 'Child'; var_dump($what::whoAmI());
You have javascript disabled. You will not be able to edit any code.