Consider:
The value of my_const is {my_const}. MYECHO; ?>
Put your defined variable into simple variable and use include it in heredoc just as in following example:
The value of my_const is {$variable}. MYECHO; ?>