<?php fgets(resource $stream, ?int $length = null): string|false
<?php unset($sockets[(int) $stream]); fclose($stream); } else { yield (int) $stream => fgets($stream); } } }