<?php class P { static function a() { return new static; } } class C extends P { } var_dump(C::a());
You have javascript disabled. You will not be able to edit any code.