Hi internals,

This starts the voting phase for the RFC “Add BackedEnum::values()”.

RFC: https://wiki.php.net/rfc/add_values_method_to_backed_enum
<https://wiki.php.net/rfc/add_values_method_to_backed_enum?utm_source=chatgpt.com>
Discussion thread: https://externals.io/message/129186
<https://externals.io/message/129186?utm_source=chatgpt.com>
Implementation PR: https://github.com/php/php-src/pull/20398

The proposal adds `BackedEnum::values()` returning a 0-based indexed array
of backing values (`int|string`) in declaration order.

Voting is open until: 2026-02-08 00:00:00 UTC.

Thanks,
Mikhail Savin

Reply via email to