Created attachment 91131 [details] example php file When using the nowdoc syntax (http://php.net/manual/en/language.types.string.php#language.types.string.syntax.nowdoc, <<<'EOT'), kate can't find the ending EOT identifier (note that the ending identifier is not single quoted), and folds the rest of the file.
Confirmed folding behavior. Arch Linux 64-bit Kate 16.04.2 KDE Frameworks 5.23.0 Qt 5.6.1 xcb wm
Git commit 7a5972b558eb9b6d2cf960eb57de1cccd8578ca4 by Christoph Cullmann. Committed on 05/09/2016 at 13:25. Pushed by cullmann into branch 'master'. Bug 344276 - php nowdoc not folded correctly fix Heredoc => Nowdoc M +6 -6 src/syntax/data/php.xml http://commits.kde.org/ktexteditor/7a5972b558eb9b6d2cf960eb57de1cccd8578ca4