RecursiveIteratorIterator::getMaxDepth
PHP function
Edit on GitHub ✎
(PHP 5 >= 5.1.0, PHP 7, PHP 8)
Get max depth
Description
RecursiveIteratorIterator::getMaxDepth(): int|false
Gets the maximum allowable depth.
Func
Parameters Parameters
Return Values
The maximum accepted depth, or false if any depth is allowed.
See Also
RecursiveIteratorIterator::setMaxDepth