<?php class A { public function test() { var_dump('yes'); } } function getA() { return new A; } ($a = getA())->test(); var_dump('----'); $a->test();
You have javascript disabled. You will not be able to edit any code.