run code in 200+ php & hhvm versions
Bugs & Features
<?php $saludo = "buen día"; echo <<<'HEY' Cuando saludo digo $saludo, o a veces también $comunicacion->saludo 'HEY';
based on oqeIh
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/IFWcC on line 8
Process exited with code 255.
Output for hhvm-3.15.4
Fatal error: Uncaught Error: Unterminated nowdoc at end of file (Line: 5, Char: 14) syntax error, unexpected $end in /in/IFWcC:5 Stack trace: #0 {main}
Process exited with code 255.