<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.splfixedarray.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'ru',
  ),
  'this' => 
  array (
    0 => 'splfixedarray.offsetget.php',
    1 => 'SplFixedArray::offsetGet',
    2 => 'Возвращает значение по указанному индексу',
  ),
  'up' => 
  array (
    0 => 'class.splfixedarray.php',
    1 => 'SplFixedArray',
  ),
  'prev' => 
  array (
    0 => 'splfixedarray.offsetexists.php',
    1 => 'SplFixedArray::offsetExists',
  ),
  'next' => 
  array (
    0 => 'splfixedarray.offsetset.php',
    1 => 'SplFixedArray::offsetSet',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'ru',
    'path' => 'reference/spl/splfixedarray/offsetget.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="splfixedarray.offsetget" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">SplFixedArray::offsetGet</h1>
  <p class="verinfo">(PHP 5 &gt;= 5.3.0, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">SplFixedArray::offsetGet</span> &mdash; <span class="dc-title">Возвращает значение по указанному индексу</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-splfixedarray.offsetget-description">
  <h3 class="title">Описание</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>SplFixedArray::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>

  <p class="para rdfs-comment">
   Возвращает значение по индексу <code class="parameter">index</code>.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-splfixedarray.offsetget-parameters">
  <h3 class="title">Список параметров</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">index</code></dt>
     <dd>
      <p class="para">
       Индекс.
      </p>
     </dd>
    
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-splfixedarray.offsetget-returnvalues">
  <h3 class="title">Возвращаемые значения</h3>
  <p class="para">
   Значение по индексу <code class="parameter">index</code>.
  </p>
 </div>


 <div class="refsect1 errors" id="refsect1-splfixedarray.offsetget-errors">
  <h3 class="title">Ошибки</h3>
  <p class="para">
   Выбрасывает исключение <span class="classname"><a href="class.runtimeexception.php" class="classname">RuntimeException</a></span>, когда
   параметр <code class="parameter">index</code> выходит за рамки заданного
   размера массива или когда <code class="parameter">index</code> нельзя
   распознать как целое число.
  </p>
 </div>


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