Skip to content

[ErrorHandler] Support the @final annotation on constants in DebugClassLoader #44268

@stof

Description

@stof

Description

PHP 8.1 adds support for the final modifier on constants, forbidding child classes from overriding that constant. It would be great to support the @final annotation on constants in DebugClassLoader, in a similar way that it is supported on methods right now (be careful that interfaces can also define final constants, unlike final methods)

Example

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions