Hi
On 2026-10-07 06:16, Muhammed Arshid KV wrote:
The proposal now focuses on adding Filter\Filter and Filter\Flag enums
to
the Filter extension.
RFC: https://wiki.php.net/rfc/invalid_filter_options
Enums are strongly typed values by themselves. Requiring the use of a /
the backing value for some functionality (in this case: Passing multiple
options as a bitmask) is an abuse of enums, nullifies the type safety
and makes them “fancy constants” in practice.
With regarding to the “formal parts” of the RFC, I'm noting that the
“Voting Choices” section is unchanged from the template. In particular,
the voting widget's title needs to be updated.
Best regards
Tim Düsterhus