3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo 'valid'; echo 'anothervalid'; echo ('hi' echo 'alsovalid'; echo 'morevalid'; echo 'evenmorevalid'; echo 'allsovalid';
Output for 7.1.0 - 7.1.16, 7.2.0 - 7.2.4
Parse error: syntax error, unexpected 'echo' (T_ECHO) in /in/kilsn on line 5
Process exited with code 255.

preferences:
163.01 ms | 1383 KiB | 29 Q