On 16-8-2024 17:01, Ayesh Karunaratne wrote:
I went ahead and created PR https://github.com/php/php-src/pull/15443 along with tests, UPGRADE notice, etc. I think having a `get_declared_enums` function will be helpful. The implementation is simple and straightforward too.

Thanks for creating the PR Ayesh!

I'm presuming it's too late for PHP 8.4, what with feature freeze having come & gone this week.

Based on the mostly supportive responses on the list, I wonder whether an RFC is needed. If so, I'd be happy to create an initial draft (for PHP 8.5).

Smile,
Juliette


Reply via email to