https://www.php-resource.de/en/php-manual/function.stream-notification-callback.html