array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'ja', ), 'this' => array ( 0 => 'cachingiterator.key.php', 1 => 'CachingIterator::key', ), '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' => 'ja', 'path' => 'reference/spl/cachingiterator/key.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 5, PHP 7, PHP 8)
CachingIterator::key — 現在の要素のキーを返す
この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。
このメソッドは、現在の要素のキーを返します。
この関数にはパラメータはありません。