phpday 2027 - Call for Papers

RecursiveIteratorIterator::getSubIterator

(PHP 5, PHP 7, PHP 8)

RecursiveIteratorIterator::getSubIterator — The current active sub iterator

Description

public function RecursiveIteratorIterator::getSubIterator(?int $level = null): ?RecursiveIterator
Warning

This function is currently not documented; only its argument list is available.

Parameters

level

Return Values

The current active sub iterator on success; null on failure.

Changelog

Version Description
8.0.0 level is now nullable.

User Contributed Notes 1 note

up
2
lovePhp
7 years ago
Please document this method. I have found a use for it and would love to better understand how it works. TY : )
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top