<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.spldoublylinkedlist.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'uk',
  ),
  'this' => 
  array (
    0 => 'spldoublylinkedlist.offsetget.php',
    1 => 'SplDoublyLinkedList::offsetGet',
    2 => 'Returns the value at the specified $index',
  ),
  'up' => 
  array (
    0 => 'class.spldoublylinkedlist.php',
    1 => 'SplDoublyLinkedList',
  ),
  'prev' => 
  array (
    0 => 'spldoublylinkedlist.offsetexists.php',
    1 => 'SplDoublyLinkedList::offsetExists',
  ),
  'next' => 
  array (
    0 => 'spldoublylinkedlist.offsetset.php',
    1 => 'SplDoublyLinkedList::offsetSet',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/spl/spldoublylinkedlist/offsetget.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="spldoublylinkedlist.offsetget" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">SplDoublyLinkedList::offsetGet</h1>
  <p class="verinfo">(PHP 5 &gt;= 5.3.0, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">SplDoublyLinkedList::offsetGet</span> &mdash; <span class="dc-title">Returns the value at the specified $index</span></p>

 </div>
 
 <div class="refsect1 description" id="refsect1-spldoublylinkedlist.offsetget-description">
  <h3 class="title">Опис</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>SplDoublyLinkedList::offsetGet</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$index</code></span>): <span class="type"><a href="language.types.mixed.php" class="type mixed">mixed</a></span></div>

 </div>

 
 <div class="refsect1 parameters" id="refsect1-spldoublylinkedlist.offsetget-parameters">
  <h3 class="title">Параметри</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">index</code></dt>
     <dd>
      <p class="para">
       The index with the value.
      </p>
     </dd>
    
   </dl>
  </p>
 </div>

 
 <div class="refsect1 returnvalues" id="refsect1-spldoublylinkedlist.offsetget-returnvalues">
  <h3 class="title">Значення, що повертаються</h3>
  <p class="para">
   The value at the specified <code class="parameter">index</code>.
  </p>
 </div>

 
 <div class="refsect1 errors" id="refsect1-spldoublylinkedlist.offsetget-errors">
  <h3 class="title">Помилки/виключення</h3>
 <p class="para">
  Throws <span class="classname"><a href="class.outofrangeexception.php" class="classname">OutOfRangeException</a></span> when <code class="parameter">index</code> is out of bounds
  or when <code class="parameter">index</code> cannot be parsed as an integer.
 </p>
 </div>

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