3v4l.org

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