3v4l.org

run code in 300+ PHP versions simultaneously
<html> <head> <title>Online PHP Script Execution</title> </head> <body> <?php echo "<h1>Hello, PHP!</h1>" echo ''; ?> </body> </html>
Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.6
Parse error: syntax error, unexpected 'echo' (T_ECHO), expecting ',' or ';' in /in/eXUc4 on line 8
Process exited with code 255.

preferences:
166.24 ms | 1395 KiB | 35 Q