php heredoc string visual syntax error

Started by: sanjib1 voices1 posts

Hi,

OS: Windowx XP, SP3
Emeditor: v9.01

In PHP mode, in heredoc string declarations, any function keyword or colon messes up the heredoc sytnax coloring.
Please see: http://img11.imageshack.us/img11/3224/emeditorheredocsyntaxer.png

For example entering the following code messes up the syntax coloring after the word Can't,

<?php
echo $foo=<<<EOT
Testing a heredoc string.
Can't render the syntax correctly.
EOT;
function foo() {
//all the syntax is messed up from heredoc above.
return true;
}
?>

Best,
Sanjib

1 posts in this topic