(PHP 5 >= 5.1.0, PHP 7)
RecursiveIteratorIterator::setMaxDepth — Set max depth
$max_depth = -1
] ) : voidSet the maximum allowed depth.
Diese Funktion ist bis jetzt nicht dokumentiert. Es steht nur die Liste der Argumente zur Verfügung.
max_depth
The maximum allowed depth. -1 is used
for any depth.
Es wird kein Wert zurückgegeben.
Emits an Exception if max_depth is less than -1.