array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'uk', ), 'this' => array ( 0 => 'throwable.getmessage.php', 1 => 'Throwable::getMessage', 2 => 'Gets the message', ), 'up' => array ( 0 => 'class.throwable.php', 1 => 'Throwable', ), 'prev' => array ( 0 => 'class.throwable.php', 1 => 'Throwable', ), 'next' => array ( 0 => 'throwable.getcode.php', 1 => 'Throwable::getCode', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'language/predefined/throwable/getmessage.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

Throwable::getMessage

(PHP 7, PHP 8)

Throwable::getMessageGets the message

Опис

public Throwable::getMessage(): string

Returns the message associated with the thrown object.

Параметри

У цієї функції немає параметрів.

Значення, що повертаються

Returns the message associated with the thrown object.

Прогляньте також