https://www.php-resource.de/en/php-manual/recursiveiteratoriterator.beginiteration.html