/PHP-8.0/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.0/ext/zip/tests/ |
H A D | oo_setcomment.phpt | 20 $zip->addFromString('entry1.txt', 'entry #1'); 21 $zip->addFromString('entry2.txt', 'entry #2'); 22 $zip->addFromString('dir/entry2d.txt', 'entry #2'); 23 $zip->addFromString('entry4.txt', 'entry #1'); 25 $zip->addFromString('entry5.txt', 'entry #2');
|
H A D | oo_add_from_string.phpt | 2 ziparchive::addFromString and FL_OVERWRITE 24 var_dump($zip->addFromString('bar', __FILE__)); 27 var_dump($zip->addFromString('entry1.txt', __FILE__, 0)); 30 var_dump($zip->addFromString('entry1.txt', __FILE__, ZipArchive::FL_OVERWRITE));
|
H A D | oo_add_encoding.phpt | 25 $zip->addFromString('bar', __FILE__); 26 $zip->addFromString(chr(0x91), __FILE__, ZipArchive::FL_ENC_CP437); 27 $zip->addFromString('€', __FILE__, ZipArchive::FL_ENC_UTF_8);
|
H A D | oo_getnameindex.phpt | 20 $zip->addFromString('entry1.txt', 'entry #1'); 21 $zip->addFromString('entry2.txt', 'entry #2'); 22 $zip->addFromString('dir/entry2d.txt', 'entry #2');
|
H A D | oo_namelocate.phpt | 20 $zip->addFromString('entry1.txt', 'entry #1'); 21 $zip->addFromString('entry2.txt', 'entry #2'); 22 $zip->addFromString('dir/entry2d.txt', 'entry #2');
|
H A D | oo_rename.phpt | 20 $zip->addFromString('entry1.txt', 'entry #1'); 21 $zip->addFromString('entry2.txt', 'entry #2'); 22 $zip->addFromString('dir/entry2.txt', 'entry #2');
|
H A D | oo_setcompression.phpt | 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);
|
H A D | oo_delete.phpt | 19 $zip->addFromString('entry1.txt', 'entry #1'); 20 $zip->addFromString('entry2.txt', 'entry #2'); 21 $zip->addFromString('dir/entry2.txt', 'entry #2');
|
H A D | bug47667.phpt | 16 $zip->addFromString('foo.txt', 'foo bar foobar'); 25 $zip->addFromString("foo_{$i}.txt", 'foo bar foobar');
|
H A D | bug80863.phpt | 13 $zip->addFromString("file1.txt", "contents"); 14 $zip->addFromString("file2.txt", "contents");
|
H A D | oo_setcomment_error.phpt | 18 $zip->addFromString('entry1.txt', 'entry #1'); 19 $zip->addFromString('entry2.txt', 'entry #2');
|
H A D | oo_setmtime.phpt | 24 $zip->addFromString('foo', 'entry #1'); 25 $zip->addFromString('bar', 'entry #2');
|
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 | bug81490.phpt | 11 $zip->addFromString("", "yada yada");
|
H A D | oo_encryption.phpt | 18 $zip->addFromString('foo.txt', 'foo'); 20 $zip->addFromString('bar.txt', 'bar');
|
H A D | oo_externalattributes.phpt | 15 $zip->addFromString('foo.txt', 'foo'); 16 $zip->addFromString('bar.txt', 'bar');
|
H A D | bug8009.phpt | 19 $zip->addFromString("2.txt", "=)");
|
/PHP-8.0/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.0/ext/phar/tests/ |
H A D | bug73809.phpt | 13 $zip->addFromString('73809.txt', 'yada yada'); 14 $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 | 11 $phar->addFromString('föö', ''); 12 $phar->addFromString('foo', '');
|
/PHP-8.0/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);
|