- Output for 5.4.18 - 5.4.19
- Fatal error: Cannot re-assign $this in /in/jndtu on line 6
Process exited with code 255. - Output for 5.3.0 - 5.3.27, 5.4.0 - 5.4.17
- Fatal error: Cannot re-assign $this in /in/cn2QR on line 6
Process exited with code 255.
<?php
class Foo {
public function bar() {
$this = 'poop';
}
}
$d = new Foo;
$d->bar();