<?php class Foo { public function bar() { return new self(); } } var_dump((new Foo())->bar());
You have javascript disabled. You will not be able to edit any code.