<?php class Foo { public function bar() { $name = 'this'; $$name = 'herpderp'; print_r($$name); print_r($this); } } $d = new Foo; $d->bar();
You have javascript disabled. You will not be able to edit any code.