PHP 8.6.0 Beta 1 is available for testing

ReflectionClass::getReflectionConstant

(PHP 7 >= 7.1.0, PHP 8)

ReflectionClass::getReflectionConstantObtiene un ReflectionClassConstant para una constante de una clase

Descripción

public function ReflectionClass::getReflectionConstant(string $name): ReflectionClassConstant |false

Obtiene un ReflectionClassConstant para una constante de clase.

Parámetros

name

El nombre de la constante de clase.

Valores devueltos

Un ReflectionClassConstant , o false si ocurre un error.

Véase también

Found A Problem?

Learn How To Improve This PageSubmit a Pull RequestReport a Bug
+add a note

User Contributed Notes

There are no user contributed notes for this page.

AltStyle によって変換されたページ (->オリジナル) /