Ok, so the following is valid:
<?
$var1="hello";
$var2="goodbye";
print <<<END
$var1, how are you doing?<BR>
Thanks for visiting<BR>
<A HREF="http://www.google.com/">Google</A>
<BR><BR>
See you soon, $var2!
END;
?>
But! This will return a parse error:
<?
$var1="hello";
$var2="goodbye";
print <<<END
$var1, how are you doing?<BR>
Thanks for visiting<BR>
<A HREF="http://www.google.com/">Google</A>
<BR><BR>
See you soon, $var2!
END;
?>
Because the here document terminator ( END; ) is not against the left margin.
This means, I cannot indent my outputs using this style.
Anyone know of any way to overcome this limitation?