The ReflectionConstant class
(PHP 8 >= 8.4.0)
简介
The ReflectionConstant class reports information about a global constant.
类摘要
/* 属性 */
/* 方法 */
}属性
- name
- Name of the constant. Read-only, throws ReflectionException in attempt to write.
目录
- ReflectionConstant::__construct — Constructs a ReflectionConstant
- ReflectionConstant::getExtension — Gets ReflectionExtension of the defining extension
- ReflectionConstant::getExtensionName — Gets name of the defining extension
- ReflectionConstant::getFileName — Gets name of the defining file
- ReflectionConstant::getName — Gets name
- ReflectionConstant::getNamespaceName — Gets namespace name
- ReflectionConstant::getShortName — Gets short name
- ReflectionConstant::getValue — Gets value
- ReflectionConstant::isDeprecated — Checks if deprecated
- ReflectionConstant::__toString — Returns string representation
+添加备注
用户贡献的备注
此页面尚无用户贡献的备注。
备份地址:http://www.lvesu.com/blog/php/class.reflectionconstant.php