<?php class blah { public function create() { return new static(); } public function test() { echo 'test'; } } $blah = blah::create(); var_dump($blah->test());
You have javascript disabled. You will not be able to edit any code.