run code in 200+ php & hhvm versions
Bugs & Features
<?php echo <<<'TEST' Foo TEST;
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.1.7
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/s4bBPT on line 5
Process exited with code 255.
Output for hhvm-3.15.4
Fatal error: Uncaught Error: Unterminated nowdoc at end of file (Line: 3, Char: 15) syntax error, unexpected $end in /in/s4bBPT:3 Stack trace: #0 {main}
Process exited with code 255.