(PHP 5 >= 5.3.0, PHP 7, PHP 8)
Позволяет производить итерации по RecursiveIterator для генерации графического дерева в ASCII.
$iterator
,$flags
= RecursiveTreeIterator::BYPASS_KEY,$cachingIteratorFlags
= CachingIterator::CATCH_GET_CHILD,$mode
= RecursiveTreeIterator::SELF_FIRSTRecursiveTreeIterator::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