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