ReflectionClass
PHP Manual

ReflectionClass::getConstant

(PHP 5)

ReflectionClass::getConstantGets defined constant

Description

public mixed ReflectionClass::getConstant ( string $name )

Gets the defined constant.

Warning

This function is currently not documented; only its argument list is available.

Parameters

name

Name of the constant.

Return Values

Value of the constant.

See Also


ReflectionClass
PHP Manual

copyright  ©  September 17 2019 sean dreilinger url: https://durak.org/sean/pubs/software/php-7.0.0/reflectionclass.getconstant.html