<?php class Foo { public function bar($baz) { return strtoupper($baz); } public function test() { return "abc{$this->bar('def')}hij"; } } $foo = new Foo(); echo $foo->test();
You have javascript disabled. You will not be able to edit any code.