<?php include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc'; $TOC = array(); $TOC_DEPRECATED = array(); $PARENTS = array(); include_once dirname(__FILE__) ."/toc/class.cachingiterator.inc"; $setup = array ( 'home' => array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'cachingiterator.key.php', 1 => 'CachingIterator::key', 2 => 'Return the key for the current element', ), 'up' => array ( 0 => 'class.cachingiterator.php', 1 => 'CachingIterator', ), 'prev' => array ( 0 => 'cachingiterator.hasnext.php', 1 => 'CachingIterator::hasNext', ), 'next' => array ( 0 => 'cachingiterator.next.php', 1 => 'CachingIterator::next', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/spl/cachingiterator/key.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?> <div id="cachingiterator.key" class="refentry"> <div class="refnamediv"> <h1 class="refname">CachingIterator::key</h1> <p class="verinfo">(PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">CachingIterator::key</span> — <span class="dc-title">Return the key for the current element</span></p> </div> <div class="refsect1 description" id="refsect1-cachingiterator.key-description"> <h3 class="title">说明</h3> <div class="methodsynopsis dc-description"> <span class="modifier">public</span> <span class="methodname"><strong>CachingIterator::key</strong></span>(): <span class="type">scalar</span></div> <div class="warning"><strong class="warning">警告</strong><p class="simpara">本函数还未编写文档,仅有参数列表。</p></div> <p class="para"> This method may return a key for the current element. </p> </div> <div class="refsect1 parameters" id="refsect1-cachingiterator.key-parameters"> <h3 class="title">参数</h3> <p class="para">此函数没有参数。</p> </div> </div><?php manual_footer($setup); ?>