php(config?: Object = {}) → LanguageSupport
PHP language support.
config
baseLanguage?: Language
By default, the parser will treat content outside of <?
and
?>
markers as HTML. You can pass a different language here to
change that. Explicitly passing disables parsing of such content.
plain?: boolean
By default, PHP parsing only starts at the first <?
marker.
When you set this to true, it starts immediately at the start of
the document.
phpLanguage: LRLanguage
A language provider based on the Lezer PHP parser, extended with highlighting and indentation information.