<?php
$stringtoparse = "hr. madsen";
$inttoparse = 55;
echo <<<HEREDOC
Hej, mit navn er $stringtoparse
Jeg er $inttoparse år gammel
HEREDOC;
echo PHP_EOL.PHP_EOL;
echo <<<'NOWDOC'
Hej, mit navn er $stringtoparse
Jeg er NOWDOC. $inttoparse år gammel
NOWDOC;
?>
<br />
<b>Parse error</b>: syntax error, unexpected T_SL in <b>/in/EiDcb</b> on line <b>12</b><br />
Process exited with code 255.
Output for 5.1.2
<br />
<b>Parse error</b>: syntax error, unexpected T_SL in <b>/in/EiDcb</b> on line <b>13</b><br />
Process exited with code 255.
Output for 5.0.0 - 5.0.5
<br />
<b>Parse error</b>: parse error, unexpected T_SL in <b>/in/EiDcb</b> on line <b>12</b><br />
Process exited with code 255.
Output for 4.4.3 - 4.4.9
<br />
<b>Parse error</b>: syntax error, unexpected T_SL, expecting ',' or ';' in <b>/in/EiDcb</b> on line <b>12</b><br />
Process exited with code 255.
Output for 4.4.2
<br />
<b>Parse error</b>: syntax error, unexpected T_SL, expecting ',' or ';' in <b>/in/EiDcb</b> on line <b>13</b><br />
Process exited with code 255.
<br />
<b>Parse error</b>: parse error, unexpected T_SL, expecting ',' or ';' in <b>/in/EiDcb</b> on line <b>12</b><br />
Process exited with code 255.
Output for 4.3.2 - 4.3.4
<br />
<b>Parse error</b>: parse error, expecting `','' or `';'' in <b>/in/EiDcb</b> on line <b>12</b><br />
Process exited with code 255.