run code in 200+ php & hhvm versions
Bugs & Features
<?php echo <<<EMAILBODY A new comment has been received in the Photo Gallery. At time() by author(): body() EMAILBODY;
based on BFhi5
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.1.6
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/SjmJL on line 10
Process exited with code 255.
Output for hhvm-3.15.4
Fatal error: Uncaught Error: Unterminated heredoc at end of file (Line: 2, Char: 18) syntax error, unexpected $end in /in/SjmJL:2 Stack trace: #0 {main}
Process exited with code 255.