For PHP multi-line strings:
$var = "some text"; $text = <<<EOT Place your text between the EOT. It's the delimiter that ends the text of your multiline string. $var EOT;
An alternative that may not always work with every PHP version/ server configuration:
<?php echo ' Hello World! This is some text. '; ?>