Countable » « Throwable::getPrevious PHP 手册 语言参考 预定义接口和类 Throwable Throwable::__toString (PHP 7, PHP 8)Throwable::__toString — 获取 Throwable 对象 string 形式的表达 说明 public Throwable::__toString(): string 参数 此函数没有参数。 返回值 返回抛出对象 string 形式的表达。 参见 Exception::__toString() - 将异常对象转换为字符串 发现了问题? 了解如何改进此页面 • 提交拉取请求 • 报告一个错误 +添加备注 用户贡献的备注 此页面尚无用户贡献的备注。 备份地址:http://www.lvesu.com/blog/php/throwable.tostring.php