RecursiveIteratorIterator::setMaxDepth 最大の深さを設定する &reftitle.description; public voidRecursiveIteratorIterator::setMaxDepth intmaxDepth-1 許可される最大の深さを設定します。 &warn.undocumented.func; &reftitle.parameters; maxDepth 許可される最大の深さ。-1 を指定すると無制限にできます。 &reftitle.returnvalues; &return.void; &reftitle.errors; maxDepth-1 より小さい場合に例外が発生します。