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