PHP 8.1.0 Beta 1 available for testing

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.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top