<span class="hljs-keyword">echo</span> <span class="hljs-string">&lt;&lt;&lt;EOT
String with <span class="hljs-subst">$var</span> and <span class="hljs-subst">{$foo-&gt;bar[1]}</span>.
EOT;</span>

<span class="hljs-keyword">echo</span> <span class="hljs-string">&lt;&lt;&lt;EOT
  string
  EOT
  still string
EOT;</span>

<span class="hljs-keyword">array</span>(<span class="hljs-string">&lt;&lt;&lt;EOD
foobar!
EOD</span>
);
