Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.119
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
src /
php-7.4.33 /
ext /
zip /
tests /
Delete
Unzip
Name
Size
Permission
Date
Action
001.phpt
187
B
-rw-rw-r--
2022-10-31 11:36
binarynull.zip
656
B
-rw-rw-r--
2022-10-31 11:36
bug11216.phpt
537
B
-rw-rw-r--
2022-10-31 11:36
bug14962.phpt
642
B
-rw-rw-r--
2022-10-31 11:36
bug38943.inc
258
B
-rw-rw-r--
2022-10-31 11:36
bug38943.phpt
752
B
-rw-rw-r--
2022-10-31 11:36
bug38943_2.phpt
522
B
-rw-rw-r--
2022-10-31 11:36
bug38944.phpt
677
B
-rw-rw-r--
2022-10-31 11:36
bug40228-mb.phpt
502
B
-rw-rw-r--
2022-10-31 11:36
bug40228.phpt
466
B
-rw-rw-r--
2022-10-31 11:36
bug40228.zip
274
B
-rw-rw-r--
2022-10-31 11:36
bug40228私はガラスを食べられます.zip
274
B
-rw-rw-r--
2022-10-31 11:36
bug47667.phpt
853
B
-rw-rw-r--
2022-10-31 11:36
bug49072.phpt
520
B
-rw-rw-r--
2022-10-31 11:36
bug49072.zip
158.84
KB
-rw-rw-r--
2022-10-31 11:36
bug51353.phpt
1.14
KB
-rw-rw-r--
2022-10-31 11:36
bug53579.phpt
743
B
-rw-rw-r--
2022-10-31 11:36
bug53603.phpt
726
B
-rw-rw-r--
2022-10-31 11:36
bug53854.phpt
852
B
-rw-rw-r--
2022-10-31 11:36
bug53885.phpt
479
B
-rw-rw-r--
2022-10-31 11:36
bug64342_0.phpt
664
B
-rw-rw-r--
2022-10-31 11:36
bug64342_1-mb.phpt
750
B
-rw-rw-r--
2022-10-31 11:36
bug64342_1.phpt
708
B
-rw-rw-r--
2022-10-31 11:36
bug70103.phpt
771
B
-rw-rw-r--
2022-10-31 11:36
bug70322.phpt
843
B
-rw-rw-r--
2022-10-31 11:36
bug70350.phpt
677
B
-rw-rw-r--
2022-10-31 11:36
bug70752.phpt
681
B
-rw-rw-r--
2022-10-31 11:36
bug70752.zip
175
B
-rw-rw-r--
2022-10-31 11:36
bug7214.phpt
427
B
-rw-rw-r--
2022-10-31 11:36
bug72258.phpt
480
B
-rw-rw-r--
2022-10-31 11:36
bug72258.zip
110
B
-rw-rw-r--
2022-10-31 11:36
bug72660.phpt
386
B
-rw-rw-r--
2022-10-31 11:36
bug76524.phpt
590
B
-rw-rw-r--
2022-10-31 11:36
bug7658.odt
8.67
KB
-rw-rw-r--
2022-10-31 11:36
bug7658.phpt
1.07
KB
-rw-rw-r--
2022-10-31 11:36
bug7658.xml
12.88
KB
-rw-rw-r--
2022-10-31 11:36
bug77978.phpt
968
B
-rw-rw-r--
2022-10-31 11:36
bug78641.phpt
613
B
-rw-rw-r--
2022-10-31 11:36
bug8009.phpt
496
B
-rw-rw-r--
2022-10-31 11:36
bug8009.zip
112
B
-rw-rw-r--
2022-10-31 11:36
bug80863.phpt
923
B
-rw-rw-r--
2022-10-31 11:36
bug81420.phpt
570
B
-rw-rw-r--
2022-10-31 11:36
bug81420.zip
218
B
-rw-rw-r--
2022-10-31 11:36
bug81490.phpt
525
B
-rw-rw-r--
2022-10-31 11:36
bug8700.phpt
586
B
-rw-rw-r--
2022-10-31 11:36
compression_methods.phpt
1000
B
-rw-rw-r--
2022-10-31 11:36
compression_methods.zip
2.35
KB
-rw-rw-r--
2022-10-31 11:36
doubleclose.phpt
736
B
-rw-rw-r--
2022-10-31 11:36
oo_addemptydir.phpt
617
B
-rw-rw-r--
2022-10-31 11:36
oo_addemptydir_error.phpt
512
B
-rw-rw-r--
2022-10-31 11:36
oo_addfile.phpt
973
B
-rw-rw-r--
2022-10-31 11:36
oo_addglob.phpt
1.25
KB
-rw-rw-r--
2022-10-31 11:36
oo_addpattern.phpt
1.22
KB
-rw-rw-r--
2022-10-31 11:36
oo_close.phpt
337
B
-rw-rw-r--
2022-10-31 11:36
oo_count.phpt
353
B
-rw-rw-r--
2022-10-31 11:36
oo_delete.phpt
1.21
KB
-rw-rw-r--
2022-10-31 11:36
oo_encryption.phpt
1.69
KB
-rw-rw-r--
2022-10-31 11:36
oo_ext_zip.phpt
385
B
-rw-rw-r--
2022-10-31 11:36
oo_externalattributes.phpt
1.64
KB
-rw-rw-r--
2022-10-31 11:36
oo_extract.phpt
1.77
KB
-rw-rw-r--
2022-10-31 11:36
oo_getcomment.phpt
742
B
-rw-rw-r--
2022-10-31 11:36
oo_getnameindex.phpt
843
B
-rw-rw-r--
2022-10-31 11:36
oo_getstatusstring.phpt
649
B
-rw-rw-r--
2022-10-31 11:36
oo_namelocate.phpt
898
B
-rw-rw-r--
2022-10-31 11:36
oo_open.phpt
736
B
-rw-rw-r--
2022-10-31 11:36
oo_properties.phpt
1.61
KB
-rw-rw-r--
2022-10-31 11:36
oo_rename.phpt
1.07
KB
-rw-rw-r--
2022-10-31 11:36
oo_setcomment.phpt
1.53
KB
-rw-rw-r--
2022-10-31 11:36
oo_setcomment_error.phpt
1.02
KB
-rw-rw-r--
2022-10-31 11:36
oo_setcompression.phpt
1.64
KB
-rw-rw-r--
2022-10-31 11:36
oo_stream.phpt
749
B
-rw-rw-r--
2022-10-31 11:36
oo_unchangeIndex.phpt
1007
B
-rw-rw-r--
2022-10-31 11:36
oo_unchangeName.phpt
1016
B
-rw-rw-r--
2022-10-31 11:36
pecl12414.phpt
921
B
-rw-rw-r--
2022-10-31 11:36
pecl12414.zip
16.87
KB
-rw-rw-r--
2022-10-31 11:36
stream_meta_data.phpt
1.16
KB
-rw-rw-r--
2022-10-31 11:36
test.zip
526
B
-rw-rw-r--
2022-10-31 11:36
test_procedural.zip
541
B
-rw-rw-r--
2022-10-31 11:36
test_with_comment.zip
571
B
-rw-rw-r--
2022-10-31 11:36
utils.inc
777
B
-rw-rw-r--
2022-10-31 11:36
zip_close.phpt
242
B
-rw-rw-r--
2022-10-31 11:36
zip_entry_close.phpt
598
B
-rw-rw-r--
2022-10-31 11:36
zip_entry_compressedsize.phpt
348
B
-rw-rw-r--
2022-10-31 11:36
zip_entry_compressionmethod.phpt
375
B
-rw-rw-r--
2022-10-31 11:36
zip_entry_filesize.phpt
336
B
-rw-rw-r--
2022-10-31 11:36
zip_entry_name.phpt
346
B
-rw-rw-r--
2022-10-31 11:36
zip_entry_open.phpt
309
B
-rw-rw-r--
2022-10-31 11:36
zip_entry_read.phpt
336
B
-rw-rw-r--
2022-10-31 11:36
zip_open.phpt
217
B
-rw-rw-r--
2022-10-31 11:36
zip_open_error.phpt
676
B
-rw-rw-r--
2022-10-31 11:36
zip_read.phpt
326
B
-rw-rw-r--
2022-10-31 11:36
Save
Rename
--TEST-- setCompressionName and setCompressionIndex methods --SKIPIF-- <?php if (!extension_loaded('zip')) die('skip'); ?> --FILE-- <?php $tmpfile = __DIR__ . '/oo_setcompression.zip'; if (file_exists($tmpfile)) { unlink($tmpfile); } // generate the ZIP file $zip = new ZipArchive; if ($zip->open($tmpfile, ZipArchive::CREATE) !== TRUE) { exit('failed'); } $txt = file_get_contents(__FILE__); $zip->addFromString('entry1.txt', $txt); $zip->addFromString('entry2.txt', $txt); $zip->addFromString('dir/entry3.txt', $txt); $zip->addFromString('entry4.txt', $txt); $zip->addFromString('entry5.txt', $txt); $zip->addFromString('entry6.txt', $txt); $zip->addFromString('entry7.txt', $txt); var_dump($zip->setCompressionName('entry2.txt', ZipArchive::CM_DEFAULT)); var_dump($zip->setCompressionName('dir/entry3.txt', ZipArchive::CM_STORE)); var_dump($zip->setCompressionName('entry4.txt', ZipArchive::CM_DEFLATE)); var_dump($zip->setCompressionIndex(4, ZipArchive::CM_STORE)); var_dump($zip->setCompressionIndex(5, ZipArchive::CM_DEFLATE)); var_dump($zip->setCompressionIndex(6, ZipArchive::CM_DEFAULT)); if (!$zip->close()) { exit('failed'); } // check the ZIP file $zip = zip_open($tmpfile); if (!is_resource($zip)) { exit('failed'); } while ($e = zip_read($zip)) { echo zip_entry_name($e) . ': ' . zip_entry_compressionmethod($e) . "\n"; } zip_close($zip); ?> --CLEAN-- <?php $tmpfile = __DIR__ . '/oo_setcompression.zip'; unlink($tmpfile); ?> --EXPECT-- bool(true) bool(true) bool(true) bool(true) bool(true) bool(true) entry1.txt: deflated entry2.txt: deflated dir/entry3.txt: stored entry4.txt: deflated entry5.txt: stored entry6.txt: deflated entry7.txt: deflated