https://www.php-resource.de/de/php-manual/stream.streamwrapper.example-1.html