Heredoc for php

2. Help
2005-04-04
2012-11-13
  • Is there a way to set up the php syntax highlighter to change the colours for heredoc syntax?

    --------------------

    $donut = <<<END

    all this should be a different colour there would need to be a match between what comes after <<< to the line that begines with that same word with no spaces before it (END,EOD whatever) ending with a ' ;'

    It would also be great if variables like this {$testvar} could be shown as another colour.

    END;

    --------------------

    If anyone has any ideas let me know!

    Cheers

    muffinresearch