Lines Matching refs:txt
20 $txt = file_get_contents(__FILE__);
21 $zip->addFromString('entry1.txt', $txt);
22 $zip->addFromString('entry2.txt', $txt);
23 $zip->addFromString('dir/entry3.txt', $txt);
24 $zip->addFromString('entry4.txt', $txt);
25 $zip->addFromString('entry5.txt', $txt);
26 $zip->addFromString('entry6.txt', $txt);
27 $zip->addFromString('entry7.txt', $txt);
29 var_dump($zip->setCompressionName('entry2.txt', ZipArchive::CM_DEFAULT));
30 var_dump($zip->setCompressionName('dir/entry3.txt', ZipArchive::CM_STORE));
31 var_dump($zip->setCompressionName('entry4.txt', ZipArchive::CM_DEFLATE));
65 entry1.txt: deflated
66 entry2.txt: deflated
67 dir/entry3.txt: stored
68 entry4.txt: deflated
69 entry5.txt: stored
70 entry6.txt: deflated
71 entry7.txt: deflated