PHP zip_entry_close() İşlev
Örnek
zip_entry_open() tarafından açılan bir ZIP dizini girişini kapatın:
<?php
$zip = zip_open("test.zip");
if ($zip) {
while ($zip_entry = zip_read($zip)) {
if (zip_entry_open($zip, $zip_entry)) {
// some code
// Close directory entry
zip_entry_close($zip_entry);
}
}
zip_close($zip);
}
?>
Tanım ve Kullanım
zip_entry_close() işlevi, zip_entry_open() tarafından açılan bir ZIP dizini girişini kapatır.
Sözdizimi
zip_entry_close(zip_entry)
Parametre Değerleri
Parameter | Description |
---|---|
zip_entry | Required. Specifies the ZIP directory entry returned by zip_read() |
Teknik detaylar
Geri dönüş değeri: | Başarı konusunda DOĞRU. Başarısızlıkta YANLIŞ |
---|---|
PHP Sürümü: | 4.1.0+ |
❮ PHP Zip Referansı