ReflectionClassConstant::getValue

(PHP 7 >= 7.1.0, PHP 8)

ReflectionClassConstant::getValueGets value

Description

public ReflectionClassConstant::getValue(): mixed

Gets the class constant's value.

Parameters

This function has no parameters.

Return Values

The value of the class constant.