https://github.com/php/php-src/pull/6489#issuecomment-739237321 We have `interfaces_exists` and `trait_exists`, do we need `enum_exists` to check whether a given class is an enum?
php/php-src#6489 (comment)
We have
interfaces_existsandtrait_exists, do we needenum_existsto check whether a given class is an enum?