ReflectionClass
PHP Manual

ReflectionClass::getConstant

(PHP 5)

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