ReflectionClass
PHP Manual

ReflectionClass::getConstants

(PHP 5)

ReflectionClass::getConstantsGets constants

Description

public array ReflectionClass::getConstants ( void )

Gets defined constants from a class.

Warning

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

Parameters

This function has no parameters.

Return Values

An array of constants. Constant name in key, constant value in value.

See Also


ReflectionClass
PHP Manual

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