phpday 2027 - Call for Papers

ReflectionClassConstant::__toString

(PHP 7 >= 7.1.0, PHP 8)

ReflectionClassConstant::__toString — Returns the string representation of the ReflectionClassConstant object

Description

public function ReflectionClassConstant::__toString(): string

Returns the string representation of the ReflectionClassConstant object.

Parameters

This function has no parameters.

Return Values

A string representation of this ReflectionClassConstant instance.

Changelog

Version Description
8.4.0 The attached doc comment is now included.

See Also

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top