PHP ReflectionProperty::isDefault 反射函数
-
定义和用法
ReflectionProperty::isDefault - 检查属性是否为默认属性 -
版本支持
PHP4 PHP5 PHP7 不支持 支持 支持 -
语法
ReflectionProperty::isDefault() 检查属性是在编译时声明的,还是在运行时动态声明的。 -
参数
参数 必需的 描述 无 -
返回值
如果属性在编译时声明,则为TRUE;如果在运行时创建,则为FALSE。 -
示例
-
相关页面
ReflectionProperty::getValue() - 获取属性值