php教程

RecursiveIteratorIterator::setMaxDepth

(PHP 5 >= 5.1.0, PHP 7)

RecursiveIteratorIterator::setMaxDepthSet max depth

说明

public RecursiveIteratorIterator::setMaxDepth ([ int $max_depth = -1 ] ) : void

Set the maximum allowed depth.

Warning

本函数还未编写文档,仅有参数列表。

参数

max_depth

The maximum allowed depth. -1 is used for any depth.

返回值

没有返回值。

错误/异常

Emits an Exception if max_depth is less than -1.

User Contributed Notes

There are no user contributed notes for this page.

CopyRight © 2008-2022 verySource.Com All Rights reserved. 京ICP备17048824号-1 京公网安备:11010502034788