Get max depth

# RecursiveIteratorIterator::getMaxDepth

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

RecursiveIteratorIterator::getMaxDepth — Get 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

- RecursiveIteratorIterator::setMaxDepth() - Set max depth

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open