PHP Conference Nagoya 2025

ReflectionClassConstant::getModifiers

(PHP 7 >= 7.1.0, PHP 8)

ReflectionClassConstant::getModifiersGets the class constant modifiers

Descrizione

public ReflectionClassConstant::getModifiers(): int

Returns a bitfield of the access modifiers for this class constant.

Elenco dei parametri

Questa funzione non contiene parametri.

Valori restituiti

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

Vedere anche:

add a note

User Contributed Notes

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