1 2 3 4 5 6 7 8 9
<?php class Foo { public function foo() { $foo = <<<EOT_SQL I am a heredoc EOT_SQL } }