(PHP 8 >= 8.3.0)
ReflectionClassConstant::getType — Gets a class constant's type
Gets the associated type of a class constant.
此函数没有参数。
Returns a ReflectionType object if a parameter type is specified, null otherwise.
null