Home
last modified time | relevance | path

Searched refs:remove_path (Results 1 – 5 of 5) 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 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_addpattern.phpt26 $options = array('add_path' => 'baz/', 'remove_path' => $dir);
/PHP-8.3/ext/zip/
H A Dphp_zip.c344 char *remove_path; member
430 opts->remove_path = Z_STRVAL_P(option); in php_zip_parse_options()
1781 …} else if (opts.remove_path && !memcmp(Z_STRVAL_P(zval_file), opts.remove_path, opts.remove_path_l…

Completed in 23 milliseconds