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

search for in the

gzcompress> <Zlib
Last updated: Sun, 25 Nov 2007

view this page in

gzclose

(PHP 4, PHP 5)

gzclose — Close an open gz-file pointer

Popis

bool gzclose ( resource $zp )

Closes the given gz-file pointer.

Parametre

zp

The gz-file pointer. It must be valid, and must point to a file successfully opened by gzopen().

Vrátené hodnoty

Vracia TRUE pri úspechu alebe FALSE pri chybe.

Príklady

Example#1 gzclose() example

<?php
$gz 
gzopen('somefile.gz','w9');
gzputs ($gz'I was added to somefile.gz');
gzclose($gz);
?>

Tiež pozri



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

gzcompress> <Zlib
Last updated: Sun, 25 Nov 2007
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites