downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

gzgets> <gzfile
[edit] Last updated: Fri, 24 Jun 2011

view this page in

gzgetc

(PHP 4, PHP 5)

gzgetcدریافت کاراکتر از اشاره‌گر gz-file

Description

string gzgetc ( resource $zp )

بازگرداندن رشته شامل تک کاراکتر غیرفشرده خوانده شده از اشاره‌گر فایل gz-file داده شده.

Parameters

zp

اشاره‌گر gz-file. باید صحیح باشد و به فایل باز شده موفق توسط gzopen() اشاره کند.

Return Values

کاراکتر غیرفشرده یا FALSE در صورت EOF (برخلاف gzeof()).

Examples

Example #1 مثال gzgetc()

<?php
$gz 
gzopen('somefile.gz''r');
while (!
gzeof($gz)) {
  echo 
gzgetc($gz);
}
gzclose($gz);
?>

See Also

  • gzopen() - باز کردن gz-file
  • gzgets() - دریافت خط از اشاره‌گر فایل



add a note add a note User Contributed Notes gzgetc - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites