3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php 1 + 1
Output for 5.4.0 - 5.6.30, 7.0.0 - 7.1.8
Parse error: syntax error, unexpected end of file in /in/CQtqe on line 2
Process exited with code 255.
Output for hhvm-3.11.1 - 3.21.0
Fatal error: Uncaught Error: syntax error, unexpected $end in /in/CQtqe:2 Stack trace: #0 {main}
Process exited with code 255.
Output for hhvm-3.10.1
Fatal error: syntax error, unexpected $end in /in/CQtqe on line 2
Process exited with code 255.
Output for 5.3.0 - 5.3.29
Parse error: syntax error, unexpected $end in /in/CQtqe on line 2
Process exited with code 255.