php man page for gzclose

Query: gzclose

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

GZCLOSE(3)								 1								GZCLOSE(3)

gzclose - Close an open gz-file pointer

SYNOPSIS
bool gzclose (resource $zp)
DESCRIPTION
Closes the given gz-file pointer.
PARAMETERS
o $zp - The gz-file pointer. It must be valid, and must point to a file successfully opened by gzopen(3).
RETURN VALUES
Returns TRUE on success or FALSE on failure.
EXAMPLES
Example #1 gzclose(3) example <?php $gz = gzopen('somefile.gz','w9'); gzputs ($gz, 'I was added to somefile.gz'); gzclose($gz); ?>
SEE ALSO
gzopen(3). PHP Documentation Group GZCLOSE(3)
Related Man Pages
php_check_syntax(3) - php
feof(3) - php
ftp_fget(3) - php
ftp_fput(3) - php
gzwrite(3) - php
Similar Topics in the Unix Linux Community
String pointer does not work