On Tuesday, 1 October 2024 at 23:45, Juliette Reinders Folmer <php-internals_nos...@adviesenzo.nl> wrote:
> L.S., > > After the earlier discussion [1] regarding this topic in August, it is our > pleasure to present the RFC to add a `get_declared_enums()` function to PHP > for discussion. > > https://wiki.php.net/rfc/get_declared_enums > > We look forward to your feedback and hope for a constructive discussion. > > Smile, > Ayesh and Juliette > > 1: https://externals.io/message/124937#124937 The RFC, and its course of action, makes total sense to me. As a counterpoint to the argument presented on the list that Enums should still be returned by get_declared_list() because they are "classes": Interfaces and traits are also "classes" internally, and yet they are not returned. We make a distinction in userland, and this should be followed by the provided functions. Best regards, Gina P. Banyard