<?php
echo ('Hello {$person->name}! Welcome to $company!');
echo ("Hello {$person->name}! Welcome to $company!");
echo (<<<MSG
Hello {$person->name}! Welcome to $company!
MSG);
var_dump(<<<SQL
SELECT *
FROM table
SQL);
var_dump(<<<"SQL"
SELECT *
FROM table
SQL);
$var = <<<'TEXT'
Hello {$person->name}! Welcome to $company!
TEXT;
var_dump(<<<'TEXT'
Hello {$person->name}! Welcome to $company!
TEXT);