3v4l.org

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