(PHP 5 >= 5.1.0, PHP 7, PHP 8)
RecursiveIteratorIterator::setMaxDepth — Set max depth
Set the maximum allowed depth.
本函数还未编写文档,仅有参数列表。
maxDepth
The maximum allowed depth. -1
is used
for any depth.
没有返回值。
Emits an Exception if maxDepth
is less than -1
.