(PHP 5 >= 5.1.0, PHP 7, PHP 8)
RecursiveIteratorIterator::setMaxDepth — Set max depth
$maxDepth = -1): voidSet the maximum allowed depth.
本函數(shù)還未編寫(xiě)文檔,僅有參數(shù)列表。
maxDepth
       The maximum allowed depth. -1 is used
       for any depth.
      
沒(méi)有返回值。
   Emits an Exception if maxDepth is less than -1.