Здравствуйте! Попробую объяснить свой вопрос сразу на примере: $abc = 'hello world!'; $a = 'abc'; echo $$a - резальтат: 'hello world!' ведь так? а вот в этом и сам вопрос: class Test { private $fields; function test($list_name) { $list_name = 'this->'.$list_name; return $$list_name; } } почему конвертирование строки в имя переменной нельзя использовать для объектов класса??((( выдает ошибку Undefined variable: this->req_fileds...
Please note that variable variables cannot be used with PHP's Superglobal arrays within functions or class methods. The variable $this is also a special variable that cannot be referenced dynamically.