3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php // No trailing line. echo <<<LABEL hello world LABEL
based on t0NOt
Output for 5.6.30 - 5.6.38, 7.0.28 - 7.2.11
Parse error: syntax error, unexpected end of file, expecting variable (T_VARIABLE) or heredoc end (T_END_HEREDOC) or ${ (T_DOLLAR_OPEN_CURLY_BRACES) or {$ (T_CURLY_OPEN) in /in/CeumU on line 6
Process exited with code 255.
Output for hhvm-3.22.0
Fatal error: Uncaught Error: Unterminated heredoc at end of file (Line: 4, Char: 14) syntax error, unexpected $end in /in/CeumU:-1 Stack trace: #0 {main}
Process exited with code 255.
Output for hhvm-3.18.5 - 3.21.3
Fatal error: Uncaught Error: Unterminated heredoc at end of file (Line: 4, Char: 14) syntax error, unexpected $end in /in/CeumU:4 Stack trace: #0 {main}
Process exited with code 255.