<?php class Foo { function bar() { $this = 1; } } $f = new Foo(); $f->bar(); var_dump($f);
You have javascript disabled. You will not be able to edit any code.