- Output for 5.3.0 - 5.3.27, 5.4.0 - 5.4.19, 5.5.0 - 5.5.3
- Fatal error: Cannot re-assign $this in /in/sGb1u on line 5
Process exited with code 255.
<?php
class Foo {
public function bar() {
$this = 'herpderp';
var_dump($this);
}
}
$d = new Foo;
$d->bar();