constants in heredoc



How do I use a constant in a heredoc?


$sample = <<<sample_code


SOME_CONSTANT


sample_code;

echo $sample;



The constant in that case is just showing it's "name".

Jeff
.