09/09/2015 Using define in heredoc 58 0 Code 7 DEFINE('PREFIX','/holiday'); $const = PREFIX; echo <<<EOD <img src=”{$const}/images/hello.png” /> EOD;