Houdini wrote:
the
needs to be
In PHP with "short_tags" set to on <?= is the SAME as <?php echo
<?="This is a sentence"?> is the SAME as <?php echo "This is a sentence" ?>
And I'm pretty sure they're set to "on" by default. So chances are most hosts have then set to on 🆒
You can also wrap the entire thing in PHP tags if you want 😃
<?php
$title = "Some text";
echo <<<HTML
<html>
<head>
<title>$title</title>
</head>
<body>
<h1>$title</h1>
</body>
</html>
HTML;
?>