<?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 => 'zh', ), 'this' => array ( 0 => 'spldoublylinkedlist.push.php', 1 => 'SplDoublyLinkedList::push', 2 => 'Pushes an element at the end of the doubly linked list', ), 'up' => array ( 0 => 'class.spldoublylinkedlist.php', 1 => 'SplDoublyLinkedList', ), 'prev' => array ( 0 => 'spldoublylinkedlist.prev.php', 1 => 'SplDoublyLinkedList::prev', ), 'next' => array ( 0 => 'spldoublylinkedlist.rewind.php', 1 => 'SplDoublyLinkedList::rewind', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/spl/spldoublylinkedlist/push.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?> <div id="spldoublylinkedlist.push" class="refentry"> <div class="refnamediv"> <h1 class="refname">SplDoublyLinkedList::push</h1> <p class="verinfo">(PHP 5 >= 5.3.0, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">SplDoublyLinkedList::push</span> — <span class="dc-title">Pushes an element at the end of the doubly linked list</span></p> </div> <div class="refsect1 description" id="refsect1-spldoublylinkedlist.push-description"> <h3 class="title">说明</h3> <div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><strong>SplDoublyLinkedList::push</strong></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"> Pushes <code class="parameter">value</code> at the end of the doubly linked list. </p> </div> <div class="refsect1 parameters" id="refsect1-spldoublylinkedlist.push-parameters"> <h3 class="title">参数</h3> <p class="para"> <dl> <dt><code class="parameter">value</code></dt> <dd> <p class="para"> The value to push. </p> </dd> </dl> </p> </div> <div class="refsect1 returnvalues" id="refsect1-spldoublylinkedlist.push-returnvalues"> <h3 class="title">返回值</h3> <p class="para"> 没有返回值。 </p> </div> </div><?php manual_footer($setup); ?>