中文文档
English
Spanish
French
Japanese
Brazilian
German
Turkish
Russian
ArrayAccess »
« Throwable::getPrevious
PHP 手册
语言参考
预定义接口和类
Throwable
Throwable::__toString
(PHP 7, PHP 8)
Throwable::__toString
—
获取 Throwable 对象 string 形式的表达
说明
public
Throwable::__toString
():
string
参数
此函数没有参数。
返回值
返回抛出对象
string
形式的表达。
参见
Exception::__toString()
- 将异常对象转换为字符串