<?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 => 'uk',
  ),
  'this' => 
  array (
    0 => 'splfixedarray.offsetset.php',
    1 => 'SplFixedArray::offsetSet',
    2 => 'Sets a new value at a specified index',
  ),
  'up' => 
  array (
    0 => 'class.splfixedarray.php',
    1 => 'SplFixedArray',
  ),
  'prev' => 
  array (
    0 => 'splfixedarray.offsetget.php',
    1 => 'SplFixedArray::offsetGet',
  ),
  'next' => 
  array (
    0 => 'splfixedarray.offsetunset.php',
    1 => 'SplFixedArray::offsetUnset',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/spl/splfixedarray/offsetset.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="splfixedarray.offsetset" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">SplFixedArray::offsetSet</h1>
  <p class="verinfo">(PHP 5 &gt;= 5.3.0, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">SplFixedArray::offsetSet</span> &mdash; <span class="dc-title">Sets a new value at a specified index</span></p>

 </div>
 
 <div class="refsect1 description" id="refsect1-splfixedarray.offsetset-description">
  <h3 class="title">Опис</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>SplFixedArray::offsetSet</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="methodparam"><span class="type"><a href="language.types.mixed.php" class="type mixed">mixed</a></span> <code class="parameter">$value</code></span>): <span class="type"><a href="language.types.void.php" class="type void">void</a></span></div>

  <p class="para rdfs-comment">
   Sets the value at the specified <code class="parameter">index</code> to <code class="parameter">value</code>.
  </p>
 </div>

 
 <div class="refsect1 parameters" id="refsect1-splfixedarray.offsetset-parameters">
  <h3 class="title">Параметри</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">index</code></dt>
     <dd>
      <p class="para">
       The index being set.
      </p>
     </dd>
    
    
     <dt><code class="parameter">value</code></dt>
     <dd>
      <p class="para">
       The new value for the <code class="parameter">index</code>.
      </p>
     </dd>
    
   </dl>
  </p>
 </div>

 
 <div class="refsect1 returnvalues" id="refsect1-splfixedarray.offsetset-returnvalues">
  <h3 class="title">Значення, що повертаються</h3>
  <p class="para">
   Не повертає значень.
  </p>
 </div>

 
 <div class="refsect1 errors" id="refsect1-splfixedarray.offsetset-errors">
  <h3 class="title">Помилки/виключення</h3>
  <p class="para">
   Throws <span class="classname"><a href="class.runtimeexception.php" class="classname">RuntimeException</a></span> when <code class="parameter">index</code> is outside
   the defined size of the array or when <code class="parameter">index</code> cannot be parsed as an integer.
  </p>
 </div>

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