RFC: Add get_declared_enums() function

Project Governance
Author
Juliette Reinders Folmer
Author
Ayesh Karunaratne
This RFC proposes to add a new get_declared_enums() function in the next PHP 8.x release and to make the behaviour of the related functions consistent by:

This RFC has not yet started voting