Sophie

Sophie

distrib > Mageia > 7 > i586 > by-pkgid > 2b917e0437961edec048f1d15e2d7449 > files > 13055

php-manual-en-7.2.11-1.mga7.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Sets the value at the specified $index to $newval</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="spldoublylinkedlist.offsetget.html">SplDoublyLinkedList::offsetGet</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="spldoublylinkedlist.offsetunset.html">SplDoublyLinkedList::offsetUnset</a></div>
 <div class="up"><a href="class.spldoublylinkedlist.html">SplDoublyLinkedList</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="spldoublylinkedlist.offsetset" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">SplDoublyLinkedList::offsetSet</h1>
  <p class="verinfo">(PHP 5 &gt;= 5.3.0, PHP 7)</p><p class="refpurpose"><span class="refname">SplDoublyLinkedList::offsetSet</span> &mdash; <span class="dc-title">Sets the value at the specified $index to $newval</span></p>

 </div>
 
 <div class="refsect1 description" id="refsect1-spldoublylinkedlist.offsetset-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type"><span class="type void">void</span></span> <span class="methodname"><strong>SplDoublyLinkedList::offsetSet</strong></span>
    ( <span class="methodparam"><span class="type"><a href="language.pseudo-types.html#language.types.mixed" class="type mixed">mixed</a></span> <code class="parameter">$index</code></span>
   , <span class="methodparam"><span class="type"><a href="language.pseudo-types.html#language.types.mixed" class="type mixed">mixed</a></span> <code class="parameter">$newval</code></span>
   )</div>

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

 
 <div class="refsect1 parameters" id="refsect1-spldoublylinkedlist.offsetset-parameters">
  <h3 class="title">Parameters</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">newval</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-spldoublylinkedlist.offsetset-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   No value is returned.
  </p>
 </div>

 
 <div class="refsect1 errors" id="refsect1-spldoublylinkedlist.offsetset-errors">
  <h3 class="title">Errors/Exceptions</h3>
  <p class="para">
   Throws <a href="class.outofrangeexception.html" class="classname">OutOfRangeException</a> 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><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="spldoublylinkedlist.offsetget.html">SplDoublyLinkedList::offsetGet</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="spldoublylinkedlist.offsetunset.html">SplDoublyLinkedList::offsetUnset</a></div>
 <div class="up"><a href="class.spldoublylinkedlist.html">SplDoublyLinkedList</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>