• 首页
  • vue
  • TypeScript
  • JavaScript
  • scss
  • css3
  • html5
  • php
  • MySQL
  • redis
  • jQuery
  • RecursiveIteratorIterator::setMaxDepth()

    (PHP 5 >= 5.1.0, PHP 7)

    Set max depth

    说明

    publicRecursiveIteratorIterator::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.