Skip to content

PHP Syntax highlighting thinks string class properties starting with "SELECT" and then containing square brackets are invalid syntax #3077

Open

Description

@clarumedia
Image

Type: Bug

class xyz {
public $strThing="SELECT [[ddxc]]";
}

VSCodium version: VSCodium 1.135.06055 (1a46a584725d5dd330e0bcd7f5510f24990efcf2, 2026-08-25T14:26:52Z)
OS version: Linux x64 7.0.0-38-generic
Modes:

System Info
Item Value
CPUs AMD Ryzen 5 5600G with Radeon Graphics (12 x 4441)
GPU Status 2d_canvas: enabled
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
trees_in_viz: disabled_off
video_decode: enabled
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgpu: enabled
webgpu_on_vk_via_gl_interop: disabled_off
webnn: disabled_off
Load (avg) 1, 1, 1
Memory (System) 14.51GB (4.77GB free)
Process Argv /home/chris/remotes/sonora/opt/relator_dev/private_html/sonora.code-workspace
Screen Reader no
VM 0%
DESKTOP_SESSION ubuntu
XDG_CURRENT_DESKTOP ubuntu:GNOME
XDG_SESSION_DESKTOP ubuntu
XDG_SESSION_TYPE wayland
Extensions: none

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions