Warning: file_put_contents(): Only -1 of 46 bytes written, possibly out of free disk space in /var/www/html/index.php on line 3

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/index.php:3) in /var/www/html/cache.php on line 23

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/index.php:3) in /var/www/html/cache.php on line 24

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/index.php:3) in /var/www/html/cache.php on line 25
Zlib gzcompress PHP Manual gzclose (PHP 4, 5) — Close an open gz-file pointer Description bool ( resource $zp ) Closes the given pointer. Parameters zp The pointer. It must be valid, and point to...
Forum und email

gzclose

(PHP 4, PHP 5)

gzclose — Close an open gz-file pointer

Description

bool gzclose ( resource $zp )

Closes the given gz-file pointer.

Parameters

zp

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

Return Values

Επιστρέφει TRUE σε επιτυχία ή FALSE σε αποτυχία.

Παραδείγματα

Example#1 gzclose() example

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

Δείτε επίσης