Home
last modified time | relevance | path

Searched refs:addGlob (Results 1 – 10 of 10) sorted by relevance

/PHP-8.3/ext/zip/tests/
H A Dbug72374.phpt2 Bug #72374 (ZipArchive::addGlob remove_path option strips first char of filename)
19 $zip->addGlob($file1, 0, array('remove_path' => $dirname . '/some-'));
20 $zip->addGlob($file1, 0, array('remove_path' => $dirname . '/'));
21 $zip->addGlob($file2, 0, array('remove_path' => $dirname));
H A Doo_addglob.phpt2 ZipArchive::addGlob() method
29 if (!$zip->addGlob($dirname . '*.{txt,baz}', GLOB_BRACE, $options)) {
32 if (!$zip->addGlob($dirname . '*.{txt,baz}', GLOB_BRACE, $options)) {
36 if (!$zip->addGlob($dirname . '*.{txt,baz}', GLOB_BRACE, $options)) {
40 if (!$zip->addGlob($dirname . '*.{txt,baz}', GLOB_BRACE, $options)) {
H A Dbug_gh12661.phpt2 Bug GH-12661 (Inconsistency in ZipArchive::addGlob 'remove_path' Option Behavior)
13 $zip->addGlob(__FILE__, 0, ['remove_path' => 'bug_']); // unchanged (bug is not a prefix)
14 $zip->addGlob(__FILE__, 0, ['remove_path' => dirname(__DIR__)]);
H A Dbug78641.phpt2 Bug #78641 (addGlob can modify given remove_path value)
15 $zip->addGlob($file, 0, ["remove_path" => TMPDIR]);
H A Doo_addglob2.phpt2 ZipArchive::addGlob() method with more compression and encryption
29 if (!$zip->addGlob($dirname . 'foo.*', GLOB_BRACE, $options)) {
40 if (!$zip->addGlob($dirname . 'bar.*', GLOB_BRACE, $options)) {
H A Dbug70103.phpt2 Bug #70103 (ZipArchive::addGlob ignores remove_all_path option)
14 $zip->addGlob($dir . '/*.txt', GLOB_NOSORT, array('remove_all_path' => true));
/PHP-8.3/ext/zip/examples/
H A Daddglob.php11 $found = $z->addGlob("/home/pierre/cvs/gd/libgd/tests/*.png", 0, $options);
/PHP-8.3/ext/zip/
H A Dphp_zip.stub.php673 public function addGlob(string $pattern, int $flags = 0, array $options = []): array|false {}
H A Dphp_zip_arginfo.h340 ZEND_METHOD(ZipArchive, addGlob);
434 ZEND_ME(ZipArchive, addGlob, arginfo_class_ZipArchive_addGlob, ZEND_ACC_PUBLIC)
H A Dphp_zip.c1839 PHP_METHOD(ZipArchive, addGlob) argument

Completed in 21 milliseconds