https://www.php-resource.de/forum/php-developer-forum/23589-variable-in-function