<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.throwable.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'ru',
  ),
  'this' => 
  array (
    0 => 'throwable.getprevious.php',
    1 => 'Throwable::getPrevious',
    2 => 'Возвращает предыдущий Throwable',
  ),
  'up' => 
  array (
    0 => 'class.throwable.php',
    1 => 'Throwable',
  ),
  'prev' => 
  array (
    0 => 'throwable.gettraceasstring.php',
    1 => 'Throwable::getTraceAsString',
  ),
  'next' => 
  array (
    0 => 'throwable.tostring.php',
    1 => 'Throwable::__toString',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'ru',
    'path' => 'language/predefined/throwable/getprevious.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="throwable.getprevious" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">Throwable::getPrevious</h1>
  <p class="verinfo">(PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">Throwable::getPrevious</span> &mdash; <span class="dc-title">Возвращает предыдущий Throwable</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-throwable.getprevious-description">
  <h3 class="title">Описание</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>Throwable::getPrevious</strong></span>(): <span class="type"><span class="type"><a href="language.types.null.php" class="type null">?</a></span><span class="type"><a href="class.throwable.php" class="type Throwable">Throwable</a></span></span></div>

  <p class="para rdfs-comment">
   Возвращает любой предыдущий Throwable (для примера, переданное третьим параметром
   в <span class="methodname"><a href="exception.construct.php" class="methodname">Exception::__construct()</a></span>).
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-throwable.getprevious-parameters">
  <h3 class="title">Список параметров</h3>
  
<p class="para">
 Сигнатура функции не содержит параметров.
</p>

 </div>


 <div class="refsect1 returnvalues" id="refsect1-throwable.getprevious-returnvalues">
  <h3 class="title">Возвращаемые значения</h3>
  <p class="para">
   Возвращает предыдущий <span class="classname"><a href="class.throwable.php" class="classname">Throwable</a></span>, если он доступен, или
   <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong> в противном случае.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-throwable.getprevious-seealso">
  <h3 class="title">Смотрите также</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="methodname"><a href="exception.getprevious.php" class="methodname" rel="rdfs-seeAlso">Exception::getPrevious()</a> - Возвращает предыдущий объект, реализующий Throwable</span></li>
   </ul>
  </p>
 </div>

</div><?php manual_footer($setup); ?>