https://www.php-resource.de/forum/php-developer-forum/87928-rekursion-mit-array