3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class A { public static function A() {} public function foo() {$this = 9;}}
Output for 5.3.0 - 5.4.21
Fatal error: Cannot re-assign $this in /in/DbS5V on line 2
Process exited with code 255.