3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function x($this) {} class Foo { function y($this) {} }
based on FfU5Q
Output for 5.2.3 - 5.4.34
Fatal error: Cannot re-assign $this in /in/g6cOA on line 5
Process exited with code 255.
Output for 4.3.0 - 5.2.2