gzfile

(PHP 3, PHP 4 >= 4.0.0)

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().