Nasıl ben sadece bir dize bilerek bir sınıf özelliği başvuruda bulunabilir?
class Foo
{
    public $bar;
    public function TestFoobar()
    {
        $this->foobar('bar');
    }
    public function foobar($string)
    {
         echo $this->$$string; //doesn't work
    }
}
dize eval doğru yolu nedir?
 
			