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

search for in the

gzcompress> <Zlib 関数
[edit] Last updated: Fri, 17 May 2013

view this page in

gzclose

(PHP 4, PHP 5)

gzclose開かれたgzファイルへのポインタを閉じる

説明

bool gzclose ( resource $zp )

与えられた gz ファイルへのポインタを閉じます。

パラメータ

zp

gzファイルポインタ。有効なファイルポインタであり、かつ、 gzopen() によりオープンできたファイルを指している必要があります。

返り値

成功した場合に TRUE を、失敗した場合に FALSE を返します。

例1 gzclose() の例

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

参考



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

 
show source | credits | sitemap | contact | advertising | mirror sites