RecursiveIteratorIterator::getDepth
PHP function
Edit on GitHub ✎
(PHP 5, PHP 7, PHP 8)
Get the current depth of the recursive iteration
Description
RecursiveIteratorIterator::getDepth(): int
Func
Parameters Parameters
Return Values
The current depth of the recursive iteration.