-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Closed
Labels
@vudaltsov
Description
Description
Very happy to see ReflectionConstant
in PHP 8.4.
I would like to propose adding ReflectionConstant::getExtensionName(): false|string
and ReflectionConstant::getExtension(): ?ReflectionExtension
as in ReflectionClass
and ReflectionFunction
.
Currently to get constant's extension one has to parse get_defined_constants(categorize: true)
.