https://www.php-resource.de/forum/php-developer-forum/103576-denkfehler-foreach-bei-array