Suppose I had the following class:
class MyClass { public function Talk() { $Say = \"Something\"; return $Say; } }
I th
You can use
$said = "He" . $Inst->Talk();
in this case, or you can class
class MyClass { var $say; public function Talk() { $say = "Something"; $this->say = $say; return $say; } }
and call
$said = "He" . $Inst->say;