(PHP 4, PHP 5, PHP 7, PHP 8)
gzeof — Gzipli dosya tanıtıcında dosya sonunu sınar
dt
Gzipli dosya tanıtıcısı. gzopen() tarafından açılmış bir dosyayı gösteren geçerli bir tanıtıcı olmalıdır.
Gzipli dosya tanıtıcısında dosya sonuna gelinmişse veya bir hata oluşmuşsa true
aksi takdirde false
döndürür.
Örnek 1 - gzeof() örneği
<?php
$gz = gzopen('birdosya.gz', 'r');
while (!gzeof($gz)) {
echo gzgetc($gz);
}
gzclose($gz);
?>