(PHP 5 >= 5.1.0)
RecursiveIteratorIterator::setMaxDepth — Set max depth
$max_depth = -1
] )Set the maximum allowed depth.
Questa funzione, al momento non è documentata; è disponibile soltanto la lista degli argomenti.
max_depthThe maximum allowed depth. -1 is used for any depth.
Nessun valore viene restituito.
Emits an Exception if max_depth is less than -1.