PHP Conference Nagoya 2025

ReflectionProperty::getModifiers

(PHP 5, PHP 7, PHP 8)

ReflectionProperty::getModifiersGets the property modifiers

Description

public ReflectionProperty::getModifiers(): int

Gets the modifiers.

Parameters

This function has no parameters.

Return Values

A numeric representation of the modifiers. The actual meaning of these modifiers are described under predefined constants.

See Also

add a note

User Contributed Notes

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