[VOTE] Add BackedEnum::values()
| From: | Mikhail Savin | Date: | Sun, 18 Jan 2026 07:31:26 +0000 |
| Subject: | [VOTE] Add BackedEnum::values() | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-129770@lists.php.net to get a copy of this message | ||
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