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

search for in the

gzgets> <gzfile
Last updated: Fri, 22 Aug 2008

view this page in

gzgetc

(PHP 4, PHP 5)

gzgetcObtiene un caracter del archivo GZ apuntado

Descripción

string gzgetc ( resource $zp )

Regresa una cadena conteniendo un sólo caracter (sin compresión) leído de archivo gz apuntado.

Lista de parámetros

zp

El apuntador al archivo gz. Este debe ser válido, y debe apuntar a un archivo abierto exitosamente por gzopen().

Valores retornados

El caracter sin compresión o FALSE en caso de EOF (a diferencia de gzeof()).

Ejemplos

Example #1 Ejemplo de gzgetc()

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

Ver también



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

gzgets> <gzfile
Last updated: Fri, 22 Aug 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites