array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'recursiveiteratoriterator.getdepth.php', 1 => 'RecursiveIteratorIterator::getDepth', 2 => 'Get the current depth of the recursive iteration', ), 'up' => array ( 0 => 'class.recursiveiteratoriterator.php', 1 => 'RecursiveIteratorIterator', ), 'prev' => array ( 0 => 'recursiveiteratoriterator.enditeration.php', 1 => 'RecursiveIteratorIterator::endIteration', ), 'next' => array ( 0 => 'recursiveiteratoriterator.getinneriterator.php', 1 => 'RecursiveIteratorIterator::getInnerIterator', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/spl/recursiveiteratoriterator/getdepth.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

RecursiveIteratorIterator::getDepth

(PHP 5, PHP 7, PHP 8)

RecursiveIteratorIterator::getDepthGet the current depth of the recursive iteration

说明

public RecursiveIteratorIterator::getDepth(): int
警告

本函数还未编写文档,仅有参数列表。

参数

此函数没有参数。

返回值

The current depth of the recursive iteration.