(PHP 5 >= 5.3.0, PHP 7, PHP 8)
Allows iterating over a RecursiveIterator to generate an ASCII graphic tree.
$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