3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $this = 'foo';
Output for 5.3.0 - 5.6.30, hhvm-3.10.1, 7.0.0 - 7.1.4
Fatal error: Cannot re-assign $this in /in/oo784 on line 3
Process exited with code 255.
Output for hhvm-3.11.1 - 3.17.3
Fatal error: Uncaught Error: Cannot re-assign $this in /in/oo784:3 Stack trace: #0 {main}
Process exited with code 255.