array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'uk', ), 'this' => array ( 0 => 'recursiveiterator.getchildren.php', 1 => 'RecursiveIterator::getChildren', 2 => 'Returns an iterator for the current entry', ), 'up' => array ( 0 => 'class.recursiveiterator.php', 1 => 'RecursiveIterator', ), 'prev' => array ( 0 => 'class.recursiveiterator.php', 1 => 'RecursiveIterator', ), 'next' => array ( 0 => 'recursiveiterator.haschildren.php', 1 => 'RecursiveIterator::hasChildren', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/spl/recursiveiterator/getchildren.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

RecursiveIterator::getChildren

(PHP 5 >= 5.1.0, PHP 7, PHP 8)

RecursiveIterator::getChildrenReturns an iterator for the current entry

Опис

public RecursiveIterator::getChildren(): ?RecursiveIterator

Returns an iterator for the current iterator entry.

Параметри

У цієї функції немає параметрів.

Значення, що повертаються

Returns an iterator for the current entry if it exists, or null otherwise.

Прогляньте також