ReflectionClassConstant::hasType
(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.
参数
此函数没有参数。
参见
- ReflectionClassConstant::getType() - Gets a class constant's type
- ReflectionType
+添加备注
用户贡献的备注
此页面尚无用户贡献的备注。
备份地址:http://www.lvesu.com/blog/php/reflectionclassconstant.hastype.php