Returns the string representation of the ReflectionClassConstant object

# ReflectionClassConstant::__toString

(PHP 7 >= 7.1.0, PHP 8)

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

### Description

public 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

- __toString()

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open