PHP - Manual: ReflectionClassConstant::hasType
2025-02-27
(PHP 8 >= 8.3.0)
ReflectionClassConstant::hasType — Checks if class constant has a type
Checks if the class constant has a type associated with it.
此函数没有参数。
官方地址:https://www.php.net/manual/en/reflectionclassconstant.hastype.php