<?php class C { public $x = 123; public function foo() { $t = 'this'; $$t = null; return $this->x; } } $c = new C; var_dump($c->foo());
You have javascript disabled. You will not be able to edit any code.