Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<Throwable::getPreviousCountable>
^ThrowableLast updated: Mon, 26 Oct 2026

Throwable::__toString

(PHP 7, PHP 8)

Throwable::__toString — Gets a string representation of the thrown object

Description

public function Throwable::__toString(): string

Parameters

This function has no parameters.

Return Values

Returns the string representation of the thrown object.

See Also


<Throwable::getPreviousCountable>
^ThrowableLast updated: Mon, 26 Oct 2026