3v4l.org

run code in 300+ PHP versions simultaneously
<?php <body><?php echo "<p>Hello World</p>;" ?></body>
Output for 7.1.0 - 7.1.24, 7.2.0 - 7.2.12
Parse error: syntax error, unexpected '<', expecting end of file in /in/o3uau on line 3
Process exited with code 255.
Output for 5.6.38
Parse error: syntax error, unexpected '<' in /in/o3uau on line 3
Process exited with code 255.

preferences:
177.43 ms | 1386 KiB | 46 Q