actually the script is correct, but you must be careful when copying and
pasting

remove the spaces after "$hello = <<<HELLO" and after "HELLO;"

the heredoc syntax does not allow for any char after the heredoc identifier
(<<<HELLO) and none except semicolon in the line where the identifier closes the
heredoc (HELLO;)

however i also think that syntax highlighting is not all (every editor has its
quirks, even scite), and in php mode pspad does not fail in the "]*?>';" (but it
fails in the "/*" cause the highlighter does not support the heredoc syntax)

-- 
<http://forum.pspad.com/read.php?2,46034,46079>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem