<?php class Foo { function bar() { echo __METHOD__, "\n"; return $this; } } $foo = (new Foo())->bar(); print_r($foo);
You have javascript disabled. You will not be able to edit any code.