This is called here document style - its basically easier to assign a variable to a large block of text.
Instead of..
<?
$dovar = "
?>
im a long var with loads of text and html - im a long var with loads of text and html - im a long var with loads of text and html - im a long var with loads of text and html - im a long var with loads of text and html - im a long var with loads of text and html - im a long var with loads of text and html - im a long var with loads of text and html - im a long var with loads of text and html - im a long var with loads of text and html -
<?
";
?>
]
You can do...
<?
$dovar= <<<DoVar
im a long var with loads of text and html - im a long var with loads of text and html - im a long var with loads of text and html - im a long var with loads of text and html - im a long var with loads of text and html - im a long var with loads of text and html - im a long var with loads of text and html - im a long var with loads of text and html - im a long var with loads of text and html - im a long var with loads of text and html -
DoVar;
?>
As uve already discovered 🆒