Home
last modified time | relevance | path

Searched refs:addFromString (Results 1 – 25 of 28) sorted by last modified time

12

/PHP-7.3/ext/zip/
H A Dphp_zip.c1854 static ZIPARCHIVE_METHOD(addFromString) in ZIPARCHIVE_METHOD() argument
3128 ZIPARCHIVE_ME(addFromString, arginfo_ziparchive_addfromstring, ZEND_ACC_PUBLIC)
/PHP-7.3/ext/phar/
H A Dphar_object.c3887 PHP_METHOD(Phar, addFromString) in PHP_METHOD() argument
5269 PHP_ME(Phar, addFromString, arginfo_phar_fromstring, ZEND_ACC_PUBLIC)
5338 PHP_ME(Phar, addFromString, arginfo_phar_fromstring, ZEND_ACC_PUBLIC)
/PHP-7.3/ext/phar/tests/
H A Dbug76584.phpt13 $phar->addFromString('76584.txt', 'This is a test file.');
H A Daddfuncs.phpt2 Phar: addFile/addFromString
12 $phar->addFromString('a', 'hi');
37 $phar->addFromString('.phar/stub.php', 'hi');
H A Dbadparameters.phpt131 $a->addFromString(array());
202 Warning: Phar::addFromString() expects exactly 2 parameters, 1 given in %sbadparameters.php on line…
H A Dbug13786.phpt16 $phar->addFromString($i, "file $i in $fname");
H A Dbug46060.phpt15 $phar->addFromString('test/', '');
H A Dbug77022.phpt20 $phar->addFromString("test-from-string", 'test-file-phar');
/PHP-7.3/ext/zip/tests/
H A Doo_namelocate.phpt20 $zip->addFromString('entry1.txt', 'entry #1');
21 $zip->addFromString('entry2.txt', 'entry #2');
22 $zip->addFromString('dir/entry2d.txt', 'entry #2');
H A Doo_rename.phpt20 $zip->addFromString('entry1.txt', 'entry #1');
21 $zip->addFromString('entry2.txt', 'entry #2');
22 $zip->addFromString('dir/entry2.txt', 'entry #2');
H A Doo_setcomment.phpt20 $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');
24 $zip->addFromString('entry5.txt', 'entry #2');
H A Doo_setcompression.phpt21 $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 Dbug14962.phpt15 $za->addFromString($file, '1234');
H A Dbug8009.phpt19 $zip->addFromString("2.txt", "=)");
H A Doo_getnameindex.phpt20 $zip->addFromString('entry1.txt', 'entry #1');
21 $zip->addFromString('entry2.txt', 'entry #2');
22 $zip->addFromString('dir/entry2d.txt', 'entry #2');
H A Dbug47667.phpt16 $zip->addFromString('foo.txt', 'foo bar foobar');
25 $zip->addFromString("foo_{$i}.txt", 'foo bar foobar');
H A Dbug51353.phpt21 $zip->addFromString("$i.txt", '1');
H A Doo_delete.phpt19 $zip->addFromString('entry1.txt', 'entry #1');
20 $zip->addFromString('entry2.txt', 'entry #2');
21 $zip->addFromString('dir/entry2.txt', 'entry #2');
H A Doo_encryption.phpt18 $zip->addFromString('foo.txt', 'foo');
20 $zip->addFromString('bar.txt', 'bar');
H A Doo_externalattributes.phpt15 $zip->addFromString('foo.txt', 'foo');
16 $zip->addFromString('bar.txt', 'bar');
/PHP-7.3/ext/phar/tests/bug64931/
H A Dbug64931.phpt22 $phar->addFromString(".phar", "gotcha");
28 $phar->addFromString(".phar//", "gotcha");
34 $phar->addFromString(".phar\\", "gotcha");
40 $phar->addFromString(".phar\0", "gotcha");
58 Warning: Phar::addFromString() expects parameter 1 to be a valid path, string given in %s%ebug64931…
/PHP-7.3/ext/zip/examples/
H A Dset_compression.php14 $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 Dcreate.php17 $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-7.3/ext/phar/tests/zip/files/
H A Dzipmaker.php.inc33 $this->zip->addFromString($path, stream_get_contents($fileOrStream));
35 $this->zip->addFromString($path, $fileOrStream);
/PHP-7.3/ext/phar/tests/tar/
H A Dbug70417.phpt23 $arch->addFromString('foo', 'bar');

Completed in 58 milliseconds

12