Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<ReflectionProperty::getHooksReflectionProperty::getModifiers>
^ReflectionPropertyLast updated: Mon, 26 Oct 2026

ReflectionProperty::getMangledName

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

ReflectionProperty::getMangledName — Gets the mangled name of the property

Description

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.

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::getHooksReflectionProperty::getModifiers>
^ReflectionPropertyLast updated: Mon, 26 Oct 2026