code-server version: 1.31.1-100if ( isset( $some_variable ) .... You'll notice that the syntax is broken after isset().Attached to this report you'll find a screenshot related to this as well. Amazing product anyways :+1: :smile:

Does this work in vscode?
@kylecarbs we're using vscode's syntax highlighting right so this shouldn't be a bug in code-server?
Correct(ish). We use a wasm port of the library VS Code uses. It's possible there's an issue with that.
Vanilla VSCode does seem to work correctly:

I second NGTmeaty. Here is my vanilla VSCode installation.

Def something wrong here. Will investigate.
I need to install php-cli to get php highlighting working without error message. Maybe add php-cli to docker image?
@pwFoo What was the error message that you received?
Without php-cli installed the message is that no php is found. Installed it in console fixes that, but highlighting has delay. It needs some time (maybe a half minute?) until directories and files are colored (local code is initially cloned from git) and code changes from plain to highlighted.
v2 finally fixed this (https://github.com/cdr/code-server/commit/07ec4ca63e5a735315a6cb71f8379556b481924c) by downgrading onigasm https://github.com/NeekSandhu/onigasm/issues/17.
Most helpful comment
Vanilla VSCode does seem to work correctly: