Closed
Description
In order to simplify code checking for class existence for any kind of PHP classes (actual classes, interfaces, traits and now enums), it might be great to provide a polyfill for the enum_exists
function.
The implementation would be quite straightforward: return false;
as enums cannot exist on older versions.
Metadata
Metadata
Assignees
Labels
No labels