If you are too lazy to perform stripping any kind of ‘forbidden’ tags in string, like ‘<?’ or ‘ ” ‘ symbol, this is a method:
$str = <<<EOD
<p>Welcome! Today is the <?php echo(date(‘jS’)); ?> of <?= date(‘F’); ?>.</p>
Text “outside” of the HTML block.
It gonna makes your job faster, right? 😉