Gets the class constant modifiers

# ReflectionClassConstant::getModifiers

(PHP 7 >= 7.1.0, PHP 8)

ReflectionClassConstant::getModifiers — Gets the class constant modifiers

### Beschreibung

public function ReflectionClassConstant::getModifiers(): int

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

### Parameter-Liste

Diese Funktion besitzt keine Parameter.

### Rückgabewerte

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

### Siehe auch

- Reflection::getModifierNames() - Gets modifier names

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open