<?php class Hoge { function test() { func($this); var_dump($this); } } function func(&$var) { $var = null; } $hoge = new Hoge; $hoge->test(); var_dump($hoge);
You have javascript disabled. You will not be able to edit any code.