Кстати ещё один момент по поводу переменных переменных и суперглобальных массивов.
«Warning 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. » php.net/manual/en/language.variables.variable.php