Please wait while we load your page...
 

Announcements

PHP Manual :: ReflectionClass::getConstants



ReflectionClass::getConstant || ReflectionClass::getConstructor || ReflectionClass || PHP Manual

(PHP 5, PHP 7)

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::getConstant || ReflectionClass::getConstructor || ReflectionClass || PHP Manual
Live Chat Not Available