ReflectionProperty::getMangledName
(No version information available, might only be in Git)
ReflectionProperty::getMangledName — Gets the mangled name of the property
Description
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.
Parameters
This function has no parameters.
Return Values
The mangled name of the reflected property.
Changelog
| Version | Description |
|---|---|
| 8.5.0 | This method was introduced. |
See Also
- ReflectionProperty::getName() - Gets property name
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
