Why does not want to screen text in php in this way

echo <<<TEXT .............. TEXT; 

It seems everything is correct.

    1 answer 1

    At the announcement it is necessary to remove indents before the closing mark.

     <?php $var = <<<TEXT TEXT; ?> 

    It is very important to note that it’s semicolon (;). It can be indented, it can be indented, and there it can be.

    • Transdets, why so? - Vladimir Gordeev
    • Togo requires a standard. - ichbinkubik
    • Thank! He himself was caught up and ofigel of the staking standard if it’s honestly, he probably suffered for an hour until he figured it out by typing - art
    • You are welcome. Mark as correct answer. - Viktor
    • No one is to blame (including the standard) for not knowing it, but doing it by typing. - cy6erGn0m