(PHP 5 >= 5.3.0)
Permite iterar sobre la clase RecursiveIterator para generar un árbol gráfico ASCII.
$it
[, int $flags
= RecursiveTreeIterator::BYPASS_KEY
[, int $cit_flags
= CachingIterator::CATCH_GET_CHILD
[, int $mode
= RecursiveIteratorIterator::SELF_FIRST
]]] )$iterator
[, int $mode
= RecursiveIteratorIterator::LEAVES_ONLY
[, int $flags
= 0
]] )RecursiveTreeIterator::BYPASS_CURRENT
RecursiveTreeIterator::BYPASS_KEY
RecursiveTreeIterator::PREFIX_LEFT
RecursiveTreeIterator::PREFIX_MID_HAS_NEXT
RecursiveTreeIterator::PREFIX_MID_LAST
RecursiveTreeIterator::PREFIX_END_HAS_NEXT
RecursiveTreeIterator::PREFIX_END_LAST
RecursiveTreeIterator::PREFIX_RIGHT