3v4l.org

run code in 200+ php & hhvm versions
<?php $str = <<<FOO abcdefg FOO echo $str;
Output for 7.1.25 - 7.3.3
Parse error: syntax error, unexpected 'echo' (T_ECHO) in /in/eTKHe on line 7
Process exited with code 255.