Skip to content

Support for PHP Enums #23

@Ayesh

Description

@Ayesh

PHP Enum RFC is currently being voted, and it's highly likely that it will pass.

Enums support autoloading, and it introduces a new T_ENUM token. I would like to suggest that we introduce support to autoload Enums from robot-loader.

Improve robot-loader to look for T_ENUM token if the PHP version is >= 80100, and include it in the autoload list.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions