PHP Manual
Prev |  | Next

# gzfile

gzfile -- read entire gz-file into an array

## Description

`array gzfile`(string filename, int [use_include_path]);

Identical to readgzfile(), except that gzfile() returns the file in an array.

You can use the optional second parameter and set it to "1", if you want to search for the file in the include_path, too.

See also readgzfile(), and gzopen().

Prev | Home | Next
gzeof | Up | gzgetc