Lines Matching refs:txt
18 $txt = file_get_contents(__FILE__);
19 $zip->addFromString('entry1.txt', $txt);
20 $zip->addFromString('entry2.txt', $txt);
21 $zip->addFromString('dir/entry3.txt', $txt);
22 $zip->addFromString('entry4.txt', $txt);
23 $zip->addFromString('entry5.txt', $txt);
24 $zip->addFromString('entry6.txt', $txt);
25 $zip->addFromString('entry7.txt', $txt);
27 var_dump($zip->setCompressionName('entry2.txt', ZipArchive::CM_DEFAULT));
28 var_dump($zip->setCompressionName('dir/entry3.txt', ZipArchive::CM_STORE));
29 var_dump($zip->setCompressionName('entry4.txt', ZipArchive::CM_DEFLATE));
71 entry1.txt: deflated
78 entry2.txt: deflated
85 dir/entry3.txt: stored
92 entry4.txt: deflated
99 entry5.txt: stored
106 entry6.txt: deflated
113 entry7.txt: deflated