gzfile(3) php man page | unix.com

Man Page: gzfile

Operating Environment: php

Section: 3

GZFILE(3)								 1								 GZFILE(3)

gzfile - Read entire gz-file into an array

SYNOPSIS
array gzfile (string $filename, [int $use_include_path])
DESCRIPTION
This function is identical to readgzfile(3), except that it returns the file in an array.
PARAMETERS
o $filename - The file name. o $use_include_path - You can set this optional parameter to 1, if you want to search for the file in the include_path too.
RETURN VALUES
An array containing the file, one line per cell.
EXAMPLES
Example #1 gzfile(3) example <?php $lines = gzfile('somefile.gz'); foreach ($lines as $line) { echo $line; } ?>
SEE ALSO
readgzfile(3), gzopen(3). PHP Documentation Group GZFILE(3)
Related Man Pages
php_check_syntax(3) - php
get_meta_tags(3) - php
gzgetss(3) - php
gzread(3) - php
range(3) - php
Similar Topics in the Unix Linux Community
Please help urgent
gzgrep for multiple patterns or with pattern file
Grep bunch of gzip files to count based on category
How can I check, if on remote server directory is empty or have files?
Script connect to remote server, not find files and exit only from remote server, but not from scrip