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

search for in the

gzcompress> <Zlib Compression Functions
Last updated: Sat, 24 Mar 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.

Seznam parametrů

zp

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

Návratové hodnoty

Vrací TRUE při úspěchu, FALSE při selhání.

Příklady

Příklad 2343. gzclose() example

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

Viz také

gzopen()



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

gzcompress> <Zlib Compression Functions
Last updated: Sat, 24 Mar 2007
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites