RecursiveIteratorIterator::getMaxDepth

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

RecursiveIteratorIterator::getMaxDepthGet max depth

Description

public RecursiveIteratorIterator::getMaxDepth(): int|false

Gets the maximum allowable depth.

Warning

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

Parameters

This function has no parameters.

Return Values

The maximum accepted depth, or false if any depth is allowed.

See Also