<?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.isempty.php', 1 => 'SplDoublyLinkedList::isEmpty', 2 => 'Checks whether the doubly linked list is empty', ), 'up' => array ( 0 => 'class.spldoublylinkedlist.php', 1 => 'SplDoublyLinkedList', ), 'prev' => array ( 0 => 'spldoublylinkedlist.getiteratormode.php', 1 => 'SplDoublyLinkedList::getIteratorMode', ), 'next' => array ( 0 => 'spldoublylinkedlist.key.php', 1 => 'SplDoublyLinkedList::key', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/spl/spldoublylinkedlist/isempty.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?> <div id="spldoublylinkedlist.isempty" class="refentry"> <div class="refnamediv"> <h1 class="refname">SplDoublyLinkedList::isEmpty</h1> <p class="verinfo">(PHP 5 >= 5.3.0, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">SplDoublyLinkedList::isEmpty</span> — <span class="dc-title">Checks whether the doubly linked list is empty</span></p> </div> <div class="refsect1 description" id="refsect1-spldoublylinkedlist.isempty-description"> <h3 class="title">说明</h3> <div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><strong>SplDoublyLinkedList::isEmpty</strong></span>(): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div> </div> <div class="refsect1 parameters" id="refsect1-spldoublylinkedlist.isempty-parameters"> <h3 class="title">参数</h3> <p class="para">此函数没有参数。</p> </div> <div class="refsect1 returnvalues" id="refsect1-spldoublylinkedlist.isempty-returnvalues"> <h3 class="title">返回值</h3> <p class="para"> Returns whether the doubly linked list is empty. </p> </div> </div><?php manual_footer($setup); ?>