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));
73 entry1.txt: deflated
80 entry2.txt: deflated
87 dir/entry3.txt: stored
94 entry4.txt: deflated
101 entry5.txt: stored
108 entry6.txt: deflated
115 entry7.txt: deflated