/PHP-8.1/ext/phar/tests/bug64931/ |
H A D | bug64931.phpt | 22 $phar->addFromString(".phar", "gotcha"); 28 $phar->addFromString(".phar//", "gotcha"); 34 $phar->addFromString(".phar\\", "gotcha"); 40 $phar->addFromString(".phar\0", "gotcha"); 56 CAUGHT: Phar::addFromString(): Argument #1 ($localName) must not contain any null bytes
|
/PHP-8.1/ext/zip/tests/ |
H A D | oo_setcomment.phpt | 18 $zip->addFromString('entry1.txt', 'entry #1'); 19 $zip->addFromString('entry2.txt', 'entry #2'); 20 $zip->addFromString('dir/entry2d.txt', 'entry #2'); 21 $zip->addFromString('entry4.txt', 'entry #1'); 23 $zip->addFromString('entry5.txt', 'entry #2');
|
H A D | oo_add_from_string.phpt | 2 ziparchive::addFromString and FL_OVERWRITE 25 var_dump($zip->addFromString('bar', __FILE__)); 28 var_dump($zip->addFromString('entry1.txt', __FILE__, 0)); 31 var_dump($zip->addFromString('entry1.txt', __FILE__, ZipArchive::FL_OVERWRITE));
|
H A D | oo_add_encoding.phpt | 26 $zip->addFromString('bar', __FILE__); 27 $zip->addFromString(chr(0x91), __FILE__, ZipArchive::FL_ENC_CP437); 28 $zip->addFromString('€', __FILE__, ZipArchive::FL_ENC_UTF_8);
|
H A D | oo_getnameindex.phpt | 18 $zip->addFromString('entry1.txt', 'entry #1'); 19 $zip->addFromString('entry2.txt', 'entry #2'); 20 $zip->addFromString('dir/entry2d.txt', 'entry #2');
|
H A D | oo_namelocate.phpt | 18 $zip->addFromString('entry1.txt', 'entry #1'); 19 $zip->addFromString('entry2.txt', 'entry #2'); 20 $zip->addFromString('dir/entry2d.txt', 'entry #2');
|
H A D | oo_setcompression.phpt | 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);
|
H A D | oo_rename.phpt | 18 $zip->addFromString('entry1.txt', 'entry #1'); 19 $zip->addFromString('entry2.txt', 'entry #2'); 20 $zip->addFromString('dir/entry2.txt', 'entry #2');
|
H A D | oo_delete.phpt | 17 $zip->addFromString('entry1.txt', 'entry #1'); 18 $zip->addFromString('entry2.txt', 'entry #2'); 19 $zip->addFromString('dir/entry2.txt', 'entry #2');
|
H A D | bug80863.phpt | 11 $zip->addFromString("file1.txt", "contents"); 12 $zip->addFromString("file2.txt", "contents");
|
H A D | bug47667.phpt | 14 $zip->addFromString('foo.txt', 'foo bar foobar'); 23 $zip->addFromString("foo_{$i}.txt", 'foo bar foobar');
|
H A D | oo_setcomment_error.phpt | 16 $zip->addFromString('entry1.txt', 'entry #1'); 17 $zip->addFromString('entry2.txt', 'entry #2');
|
H A D | oo_setmtime.phpt | 25 $zip->addFromString('foo', 'entry #1'); 26 $zip->addFromString('bar', 'entry #2');
|
H A D | oo_externalattributes.phpt | 13 $zip->addFromString('foo.txt', 'foo'); 14 $zip->addFromString('bar.txt', 'bar');
|
H A D | bug80833.phpt | 13 $create_zip->addFromString("test.txt", "This is a test string."); 15 $create_zip->addFromString("test2.txt", "This is another test string.");
|
H A D | oo_encryption.phpt | 19 $zip->addFromString('foo.txt', 'foo'); 21 $zip->addFromString('bar.txt', 'bar');
|
H A D | bug8009.phpt | 17 $zip->addFromString("2.txt", "=)");
|
H A D | bug81490.phpt | 11 $zip->addFromString("", "yada yada");
|
/PHP-8.1/ext/zip/examples/ |
H A D | set_compression.php | 14 $zip->addFromString("testfilephp.txt", "#1 This is a test string added as testfilephp.txt.\n"); 15 $zip->addFromString("testfilephp2.txt", "#2 This is a test string added as testfilephp2.txt.\n");
|
H A D | create.php | 17 $zip->addFromString("testfilephp.txt" . time(), "#1 This is a test string added as testfilephp.txt.… 18 $zip->addFromString("testfilephp2.txt" . time(), "#2 This is a test string added as testfilephp2.tx…
|
/PHP-8.1/ext/phar/tests/ |
H A D | bug73809.phpt | 11 $zip->addFromString('73809.txt', 'yada yada'); 12 $zip->addFromString('.phar/signature.bin', str_repeat('*', 64 * 1024 + 1));
|
H A D | GHSA-jqcx-ccgc-xwhv.phpt | 11 $phar->addFromString(str_repeat('A', PHP_MAXPATHLEN - 1), 'This is the content of file 1.'); 12 $phar->addFromString(str_repeat('B', PHP_MAXPATHLEN - 1).'C', 'This is the content of file 2.');
|
H A D | addfuncs.phpt | 2 Phar: addFile/addFromString 12 $phar->addFromString('a', 'hi'); 37 $phar->addFromString('.phar/stub.php', 'hi');
|
H A D | bug70091.phpt | 9 $phar->addFromString('föö', ''); 10 $phar->addFromString('foo', '');
|
/PHP-8.1/ext/phar/tests/zip/files/ |
H A D | zipmaker.php.inc | 33 $this->zip->addFromString($path, stream_get_contents($fileOrStream)); 35 $this->zip->addFromString($path, $fileOrStream);
|