PHP 7.3 has changed the Heredoc/Nowdoc syntax, so that the ending delimiter doesn't need to be at the beginning of a line, and can be followed by other expressions. the following examples are valid php code now: ``` <?php $var = <<<EOL this is a test EOL; ``` ``` <?php $vector = [<<<EOL this is a test EOL, 'other value' ]; ``` But both syntax examples are not properly parsed/highlighted on Geany. I'm not sure if this is a Scintilla bug or a Geany bug - I can see Geany has a php parser, which today is unable to parse the new syntax (code is [here](https://github.com/geany/geany/blob/master/ctags/parsers/php.c)). I tried to open a ticket on Scintilla about this, but I am not allowed to do so (looks like you need approval from the project owners to open a ticked there).
The Scintilla lexer does the highlighting, so, assuming it hasn't been already raised or fixed, adding it to Scintilla is the correct thing to do. Were you logged in to Sourceforge when you tried to create a ticket?
The code you linked above is the symbol parser, and it too needs to be updated. That code comes from the [Universal Ctags](https://github.com/universal-ctags/ctags) project so it should be raised there if it isn't already.
It seems to be resolved on the ctags repository: https://github.com/universal-ctags/ctags/issues/2717
In this case, I'll close the issue! :)
Closed #2414.
github-comments@lists.geany.org