- Output for 7.1.0 - 7.1.17, 7.2.0 - 7.2.7
- Parse error: syntax error, unexpected 'echo' (T_ECHO) in /in/gt5hu on line 15
Process exited with code 255.
<?php
$str = <<<EOD
Example of string
spanning multiple lines
using heredoc syntax.
EOD;
echo $str;
$str2 = "
Example of string
spanning multiple lines
using heredoc syntax."
echo $str2;
?>