Home
last modified time | relevance | path

Searched refs:dirname (Results 151 – 175 of 476) sorted by last modified time

12345678910>>...20

/php-src/ext/zip/tests/
H A Doo_replacefile.phpt8 $dirname = __DIR__ . '/';
9 include $dirname . 'utils.inc';
10 $file = $dirname . 'oo_replacefile.zip';
12 copy($dirname . 'test.zip', $file);
18 if ($zip->replaceFile($dirname . 'utils.inc', 5)) {
21 if (!$zip->replaceFile($dirname . 'utils.inc', 0)) {
24 if (!$zip->replaceFile($dirname . 'utils.inc', 2, 12, 42)) {
45 var_dump(strlen($zip->getFromName('bar')) == filesize($dirname . 'utils.inc'));
H A Doo_setcomment.phpt7 $dirname = __DIR__ . '/';
8 include $dirname . 'utils.inc';
9 $file = $dirname . 'oo_setcomment.zip';
H A Doo_setmtime.phpt14 $dirname = dirname(__FILE__) . '/';
15 include $dirname . 'utils.inc';
16 $file = $dirname . '__tmp_oo_set_mtime.zip';
H A Doo_stream.phpt7 $dirname = __DIR__ . '/';
8 $file = $dirname . 'test_with_comment.zip';
9 include $dirname . 'utils.inc';
H A Doo_unchangeIndex.phpt9 $dirname = __DIR__ . '/';
10 $file = $dirname . 'oo_unchangeIndex.zip';
11 copy($dirname.'test.zip', $file);
H A Doo_unchangeName.phpt9 $dirname = __DIR__ . '/';
10 $file = $dirname . 'oo_unchangeName.zip';
11 copy($dirname.'test.zip', $file);
H A Dstream_meta_data.phpt7 $dirname = __DIR__ . '/';
8 $file = $dirname . 'test_with_comment.zip';
9 include $dirname . 'utils.inc';
H A Dbug53603.phpt19 $dirname = __DIR__ . '/';
20 $file = $dirname . 'test_with_comment.zip';
H A Dbug64342_1-mb.phpt8 $dirname = __DIR__ . '/';
9 include $dirname . 'utils.inc';
10 $file = $dirname . '__私はガラスを食べられますtmp_oo_addfile.zip';
12 copy($dirname . 'test.zip', $file);
18 if (!$zip->addFile($dirname . 'cant_find_me.txt', 'test.php')) {
H A Dbug64342_1.phpt8 $dirname = __DIR__ . '/';
9 include $dirname . 'utils.inc';
10 $file = $dirname . 'bug64342_1.zip';
12 copy($dirname . 'test.zip', $file);
18 if (!$zip->addFile($dirname . 'cant_find_me.txt', 'test.php')) {
H A Dbug7658.phpt24 $dirname = __DIR__ . '/';
25 include $dirname . 'utils.inc';
26 $file = $dirname . '__tmp_bug7658.odt';
28 copy($dirname . 'bug7658.odt', $file);
35 $zip->addFile($dirname . "bug7658.xml","content.xml");
H A Doo_add_encoding.phpt13 $dirname = __DIR__ . '/oo_add_encoding_dir/';
14 $file = $dirname . 'tmp.zip';
16 @mkdir($dirname);
39 $dirname = __DIR__ . '/oo_add_encoding_dir/';
40 unlink($dirname . 'tmp.zip');
41 rmdir($dirname);
H A Doo_add_from_string.phpt13 $dirname = __DIR__ . '/oo_add_from_string_dir/';
14 $file = $dirname . 'tmp.zip';
16 @mkdir($dirname);
44 $dirname = __DIR__ . '/oo_add_from_string_dir/';
45 unlink($dirname . 'tmp.zip');
46 rmdir($dirname);
H A Doo_addemptydir.phpt8 $dirname = __DIR__ . '/';
9 include $dirname . 'utils.inc';
10 $file = $dirname . 'oo_addemptydir.zip';
12 copy($dirname . 'test.zip', $file);
H A Doo_addglob.phpt16 $dirname = __DIR__ . '/oo_addglob_dir/';
17 $file = $dirname . 'tmp.zip';
19 @mkdir($dirname);
21 touch($dirname . 'foo.txt');
22 touch($dirname . 'bar.baz');
29 if (!$zip->addGlob($dirname . '*.{txt,baz}', GLOB_BRACE, $options)) {
63 $dirname = __DIR__ . '/oo_addglob_dir/';
64 unlink($dirname . 'tmp.zip');
65 unlink($dirname . 'foo.txt');
66 unlink($dirname . 'bar.baz');
[all …]
H A Doo_addglob2.phpt12 $dirname = __DIR__ . '/';
13 include $dirname . 'utils.inc';
15 $dirname = __DIR__ . '/__tmp_oo_addglob2/';
16 $file = $dirname . 'test.zip';
18 @mkdir($dirname);
19 copy(__FILE__, $dirname . 'foo.txt');
20 copy(__FILE__, $dirname . 'bar.txt');
29 if (!$zip->addGlob($dirname . 'foo.*', GLOB_BRACE, $options)) {
40 if (!$zip->addGlob($dirname . 'bar.*', GLOB_BRACE, $options)) {
60 $dirname = __DIR__ . '/';
[all …]
H A Doo_addpattern.phpt13 $dirname = __DIR__ . '/oo_addpattern_dir/';
14 $file = $dirname . 'tmp.zip';
16 @mkdir($dirname);
18 touch($dirname . 'foo.txt');
19 touch($dirname . 'bar.txt');
25 $dir = realpath($dirname);
59 $dirname = __DIR__ . '/oo_addpattern_dir/';
60 unlink($dirname . 'tmp.zip');
61 unlink($dirname . 'foo.txt');
62 unlink($dirname . 'bar.txt');
[all …]
H A Doo_close.phpt8 $dirname = __DIR__ . '/';
10 if (!$zip->open($dirname . 'test.zip')) {
H A Doo_rename.phpt7 $dirname = __DIR__ . '/';
8 include $dirname . 'utils.inc';
9 $file = $dirname . 'oo_rename.zip';
/php-src/ext/zip/examples/
H A Dcreate.php6 $thisdir = dirname(__FILE__);
H A Dfopen.php7 $fp = fopen('zip://' . dirname(__FILE__) . '/test.zip#test', 'r');
22 $z->open(dirname(__FILE__) . '/test.zip');
H A Dim.php3 $im = imagecreatefromgif('zip://' . dirname(__FILE__) . '/test_im.zip#pear_item.gif');
7 $z->open(dirname(__FILE__) . '/test_im.zip');
H A Dodt.php5 $reader->open('zip://' . dirname(__FILE__) . '/test.odt#meta.xml');
/php-src/ext/xsl/tests/
H A Dprepare.inc3 $dom->load(dirname(__FILE__)."/xslt.xml");
9 $xsl->load(dirname(__FILE__)."/xslt.xsl");
/php-src/ext/standard/tests/strings/
H A Dpathinfo.phpt36 ["dirname"]=>
46 ["dirname"]=>
56 ["dirname"]=>
64 ["dirname"]=>
74 ["dirname"]=>
84 ["dirname"]=>

Completed in 49 milliseconds

12345678910>>...20