Suppose I had the following class:
class MyClass { public function Talk() { $Say = \"Something\"; return $Say; } }
I th
You'd need to declare that var before your functions, eg
class MyClass { public $say; function Talk() { $this->say = "something"; } }
and then
$Said = "He ".$Inst->$say;