ReflectionClass::getConstant
ReflectionClass::getConstant
(PHP 5, PHP 7)
ReflectionClass::getConstant — Gets 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::getConstants() - Gets constants
© 1997–2017 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://secure.php.net/manual/en/reflectionclass.getconstant.php