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); ?>
(PHP 5, PHP 7, PHP 8)
RecursiveIteratorIterator::getDepth — Get the current depth of the recursive iteration
此函数没有参数。
The current depth of the recursive iteration.