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

### 说明

public function ReflectionClassConstant::__toString(): string

Returns the string representation of the ReflectionClassConstant object.

### 参数

此函数没有参数。

### 返回值

A string representation of this ReflectionClassConstant instance.

### 更新日志

版本 | 说明
--- | ---
8.4.0 | The attached doc comment is now included.

### 参见

- __toString()

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