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

Descripción

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.

Parámetros

Esta función no contiene ningún parámetro.

Valores devueltos

The mangled name of the reflected property.

Historial de cambios

Versión Descripción
8.5.0 This method was introduced.

Véase también

add a note

User Contributed Notes

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