RecursiveIteratorIterator::setMaxDepth
(PHP 5 >= 5.1.0)
RecursiveIteratorIterator::setMaxDepth — Set max depth
Descrição
public void RecursiveIteratorIterator::setMaxDepth
([ string
$max_depth = -1
] )Set the maximum allowed depth.
Warning
Esta função não está documentada; somente a lista de argumentos está disponível.
Parâmetros
-
max_depth -
The maximum allowed depth. -1 is used for any depth.
Valor Retornado
Não há valor retornado.
Erros
Emits an Exception if max_depth is less than -1.