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.

参考

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top