ReflectionClass
PHP Manual

ReflectionClass::getConstant

(PHP 5, PHP 7)

ReflectionClass::getConstantGets defined constant

설명

public mixed ReflectionClass::getConstant ( string $name )

Gets the defined constant.

Warning

이 함수는 현재 문서화 되어있지 않습니다; 인수 목록만을 제공합니다.

인수

name

Name of the constant.

반환값

Value of the constant.

참고


ReflectionClass
PHP Manual