The PHP internals RFC proposing the `#[\Override]` attribute for class constants has passed with a unanimous vote of 15-0 (with 4 abstentions). This RFC extends the existing `#[\Override]` attribute — previously available only for methods — to also apply to class constants, helping developers signal intent and catch errors when overriding constants in subclasses.

1m read timeFrom externals.io
Post cover image