3v4l.org

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