<?php echo 'x'; class C { function bar() { var_dump($this); } } $x = new C(); $x->bar(); $y = (clone $x)->bar();
You have javascript disabled. You will not be able to edit any code.