PHP 8.6.0 Alpha 2 available for testing

ReflectionProperty::getMangledName

(No version information available, might only be in Git)

ReflectionProperty::getMangledNameGets the mangled name of the property

说明

public function ReflectionProperty::getMangledName(): string

Returns the mangled (internal) name of the property, which encodes the visibility scope for private and protected properties.

For public properties, the mangled name is identical to the property name. For protected properties, the mangled name has the form \0*\0name. For private properties, the mangled name has the form \0ClassName\0name.

参数

此函数没有参数。

返回值

The mangled name of the reflected property.

更新日志

版本 说明
8.5.0 This method was introduced.

参见

添加备注

用户贡献的备注

此页面尚无用户贡献的备注。
To Top