diff --git a/src/editor/languages.js b/src/editor/languages.js index cd32b417..d2982d42 100644 --- a/src/editor/languages.js +++ b/src/editor/languages.js @@ -120,7 +120,7 @@ export const LANGUAGES = [ new Language({ token: "php", name: "PHP", - parser: phpLanguage.parser, + parser: phpLanguage.configure({top:"Program"}).parser, guesslang: "php", }), new Language({