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

search for in the

gzfile> <gzencode
Last updated: Sun, 25 Nov 2007

view this page in

gzeof

(PHP 4, PHP 5)

gzeof — 지정된 .gz 파일의 끝을 테스트한다.

Description

int gzeof ( int $zp )

지정된 .gz 파일의 끝이거나 에러가 일어나면 TRUE를 반환하고; 그렇지 않은 경우 FALSE를 반환한다.

.gz 파일지정은 정확해야 하고, gzopen()에 의해 성공적으로 열린 파일을 지정해야 한다.



add a note add a note User Contributed Notes
gzeof
thomas at poindessous dot com
21-Jun-2007 01:44
Be careful with this example. if gzopen doesn't return a valid handler, gzeof will do a nice loop.

gzfile> <gzencode
Last updated: Sun, 25 Nov 2007
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites