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