- Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.27
- Fatal error: Cannot re-assign $this in /in/DmqSJ on line 6
Process exited with code 255.
<?php
class Foo {
function bar() {
$this = 'What the hell?';
var_dump($this);
}
}
$f = new Foo;
$f->bar();