Since PHP 5.3, the opening heredoc identifier may optionally be enclosed in double quotes, and nowdoc is also supported (opening identifier enclosed in single quotes, variables are not expanded) Reproducible: Always
Created attachment 81043 [details] Test cases test file with all the special identifiers kate recognizes (EOHTML, EOCSS, EOJAVASCRIPT, EOMYSQL) in all three syntaxes (heredoc, heredoc with double quotes, nowdoc)
Created attachment 81044 [details] Patch
Git commit 1e5b1971963b6239a69631e6ded21cf0ece91cae by Dominik Haumann. Committed on 15/07/2013 at 15:47. Pushed by dhaumann into branch 'master'. fix PHP 5.3 heredoc and nowdoc syntax Please other users/developers test this. I don't really know whether this patch is correct. FIXED-IN: 4.12 M +214 -0 examples/syntax/highlight.php M +37 -1 part/syntax/data/php.xml http://commits.kde.org/kate/1e5b1971963b6239a69631e6ded21cf0ece91cae
(In reply to comment #3) > Git commit 1e5b1971963b6239a69631e6ded21cf0ece91cae by Dominik Haumann. > Committed on 15/07/2013 at 15:47. > Pushed by dhaumann into branch 'master'. > > fix PHP 5.3 heredoc and nowdoc syntax > > Please other users/developers test this. > I don't really know whether this patch is correct. > > FIXED-IN: 4.12 > > M +214 -0 examples/syntax/highlight.php > M +37 -1 part/syntax/data/php.xml > > http://commits.kde.org/kate/1e5b1971963b6239a69631e6ded21cf0ece91cae Works for me :)