Home
last modified time | relevance | path

Searched refs:DIRECTORY_SEPARATOR (Results 1 – 25 of 379) sorted by relevance

12345678910>>...16

/php-src/ext/standard/tests/file/windows_links/
H A Dbug76335.phpt12 $d0 = __DIR__ . DIRECTORY_SEPARATOR . "á";
13 $d1 = __DIR__ . DIRECTORY_SEPARATOR . "a";
15 $fn = __DIR__ . DIRECTORY_SEPARATOR . "file";
17 $l0 = $d0 . DIRECTORY_SEPARATOR . "b";
18 $l1 = $d1 . DIRECTORY_SEPARATOR . "b";
26 var_dump(link($d0 . DIRECTORY_SEPARATOR . ".." . DIRECTORY_SEPARATOR . "file", $l0));
29 var_dump(link($d1 . DIRECTORY_SEPARATOR . ".." . DIRECTORY_SEPARATOR . "file", $l1));
35 $d0 = __DIR__ . DIRECTORY_SEPARATOR . "á";
36 $d1 = __DIR__ . DIRECTORY_SEPARATOR . "a";
40 $l0 = $d0 . DIRECTORY_SEPARATOR . "b";
[all …]
/php-src/ext/spl/tests/
H A Dbug68557.phpt5 mkdir(__DIR__ . DIRECTORY_SEPARATOR . 'tmp');
6 touch(__DIR__ . DIRECTORY_SEPARATOR . 'tmp' . DIRECTORY_SEPARATOR . 'a');
7 touch(__DIR__ . DIRECTORY_SEPARATOR . 'tmp' . DIRECTORY_SEPARATOR . 'b');
9 $d = new DirectoryIterator(__DIR__ . DIRECTORY_SEPARATOR . 'tmp');
34 unlink(__DIR__ . DIRECTORY_SEPARATOR . 'tmp' . DIRECTORY_SEPARATOR . 'a');
35 unlink(__DIR__ . DIRECTORY_SEPARATOR . 'tmp' . DIRECTORY_SEPARATOR . 'b');
36 rmdir(__DIR__ . DIRECTORY_SEPARATOR . 'tmp');
H A DRecursiveDirectoryIterator_getSubPathname_basic.phpt11 $targetDir = __DIR__ . DIRECTORY_SEPARATOR . $depth0 . DIRECTORY_SEPARATOR . $depth1 . DIRECTORY_SE…
13 touch($targetDir . DIRECTORY_SEPARATOR . 'getSubPathname_test_2.tmp');
14 touch(__DIR__ . DIRECTORY_SEPARATOR . $depth0 . DIRECTORY_SEPARATOR . $depth1 . DIRECTORY_SEPARATOR
15 touch(__DIR__ . DIRECTORY_SEPARATOR . $depth0 . DIRECTORY_SEPARATOR . 'getSubPathname_test_1.tmp');
16 $iterator = new RecursiveDirectoryIterator(__DIR__ . DIRECTORY_SEPARATOR . $depth0);
44 $targetDir = __DIR__ . DIRECTORY_SEPARATOR . "depth02";
H A DDirectoryIterator_getBasename_basic_test.phpt7 $targetDir = __DIR__.DIRECTORY_SEPARATOR.md5('directoryIterator::getbasename1');
9 touch($targetDir.DIRECTORY_SEPARATOR.'getBasename_test.txt');
10 $dir = new DirectoryIterator($targetDir.DIRECTORY_SEPARATOR);
18 $targetDir = __DIR__.DIRECTORY_SEPARATOR.md5('directoryIterator::getbasename1');
19 unlink($targetDir.DIRECTORY_SEPARATOR.'getBasename_test.txt');
H A DRecursiveDirectoryIterator_getSubPath_basic.phpt11 $targetDir = __DIR__ . DIRECTORY_SEPARATOR . $depth0 . DIRECTORY_SEPARATOR . $depth1 . DIRECTORY_SE…
13 touch($targetDir . DIRECTORY_SEPARATOR . 'getSubPath_test.tmp');
14 $iterator = new RecursiveDirectoryIterator(__DIR__ . DIRECTORY_SEPARATOR . $depth0);
41 $targetDir = __DIR__.DIRECTORY_SEPARATOR . "depth01";
H A DRecursiveDirectoryIterator_hasChildren.phpt6 $dir = __DIR__ . DIRECTORY_SEPARATOR . 'symlinktest';
10 } elseif (!symlink(__DIR__, $dir . DIRECTORY_SEPARATOR . 'symlink')) {
32 $dir = __DIR__ . DIRECTORY_SEPARATOR . 'symlinktest';
34 rmdir($dir . DIRECTORY_SEPARATOR . 'symlink');
36 unlink($dir . DIRECTORY_SEPARATOR . 'symlink');
H A Dbug62433.phpt8 var_dump(in_array(__DIR__ . DIRECTORY_SEPARATOR . '.', $dots));
9 var_dump(in_array(__DIR__ . DIRECTORY_SEPARATOR . '..', $dots));
11 var_dump(in_array(__DIR__ . DIRECTORY_SEPARATOR . '.', $ndots));
12 var_dump(in_array(__DIR__ . DIRECTORY_SEPARATOR . '..', $ndots));
/php-src/ext/zend_test/tests/
H A Dgh10370_3.phpt17 mkdir(__DIR__ . DIRECTORY_SEPARATOR . 'gh10370_003');
19 $input = fopen(__DIR__ . DIRECTORY_SEPARATOR . 'gh10370.tar', 'r');
20 $output = fopen(__DIR__ . DIRECTORY_SEPARATOR . 'gh10370_003' . DIRECTORY_SEPARATOR . 'testfile', '…
27 var_dump(sha1_file(__DIR__ . DIRECTORY_SEPARATOR . 'gh10370_003' . DIRECTORY_SEPARATOR . 'testfile'…
34 @unlink(__DIR__ . DIRECTORY_SEPARATOR . 'gh10370_003' . DIRECTORY_SEPARATOR . 'testfile');
35 @rmdir(__DIR__ . DIRECTORY_SEPARATOR . 'gh10370_003');
H A Dgh10370_1.phpt18 $archive = new PharData(__DIR__ . DIRECTORY_SEPARATOR . 'gh10370.tar');
19 var_dump($archive->extractTo(__DIR__ . DIRECTORY_SEPARATOR . 'gh10370_001', ['testfile']));
20 var_dump(sha1_file(__DIR__ . DIRECTORY_SEPARATOR . 'gh10370_001' . DIRECTORY_SEPARATOR . 'testfile'…
27 @unlink(__DIR__ . DIRECTORY_SEPARATOR . 'gh10370_001' . DIRECTORY_SEPARATOR . 'testfile');
28 @rmdir(__DIR__ . DIRECTORY_SEPARATOR . 'gh10370_001');
H A Dgh10370_2.phpt17 $input_file = fopen(__DIR__ . DIRECTORY_SEPARATOR . 'gh10370.tar', 'r');
18 file_put_contents(__DIR__ . DIRECTORY_SEPARATOR . 'gh10370_002_out.tar', $input_file);
21 var_dump(sha1_file(__DIR__ . DIRECTORY_SEPARATOR . 'gh10370.tar'));
22 var_dump(sha1_file(__DIR__ . DIRECTORY_SEPARATOR . 'gh10370_002_out.tar'));
29 @unlink(__DIR__ . DIRECTORY_SEPARATOR . 'gh10370_002_out.tar');
H A Dgh10370_4.phpt18 $input = fopen(__DIR__ . DIRECTORY_SEPARATOR . 'gh10370.tar', 'r');
19 $output = fopen(__DIR__ . DIRECTORY_SEPARATOR . 'gh10370_004_out.tar', 'w');
26 var_dump(sha1_file(__DIR__ . DIRECTORY_SEPARATOR . 'gh10370.tar'));
27 var_dump(sha1_file(__DIR__ . DIRECTORY_SEPARATOR . 'gh10370_004_out.tar'));
35 @unlink(__DIR__ . DIRECTORY_SEPARATOR . 'gh10370_004_out.tar');
/php-src/ext/standard/tests/dir/
H A Dbug73877.phpt13 $base = __DIR__ . DIRECTORY_SEPARATOR . "bug73877";
14 $dir0 = $base . DIRECTORY_SEPARATOR . "bug73877";
15 $dir1 = $base . DIRECTORY_SEPARATOR . "Серёжка";
16 $junk0 = $base . DIRECTORY_SEPARATOR . "Серёжка2";
34 $base = __DIR__ . DIRECTORY_SEPARATOR . "bug73877";
35 $dir0 = $base . DIRECTORY_SEPARATOR . "bug73877";
36 $dir1 = $base . DIRECTORY_SEPARATOR . "Серёжка";
37 $junk0 = $base . DIRECTORY_SEPARATOR . "Серёжка2";
/php-src/Zend/tests/
H A Dgh10469.phpt14 ini_set('open_basedir', ini_get('open_basedir') . $pathSeparator . '.' . DIRECTORY_SEPARATOR . '..'…
15 …', ini_get('open_basedir') . $pathSeparator . '.' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARAT…
16 …r', ini_get('open_basedir') . $pathSeparator . '.' . DIRECTORY_SEPARATOR . 'a' . DIRECTORY_SEPARAT…
17 ini_set('open_basedir', ini_get('open_basedir') . $pathSeparator . '.' . DIRECTORY_SEPARATOR . 'a');
/php-src/ext/
H A Dext_skel.php159 'dir' => __DIR__ . DIRECTORY_SEPARATOR,
160 'skel' => __DIR__ . DIRECTORY_SEPARATOR . 'skeleton' . DIRECTORY_SEPARATOR,
205 … $options[$opt] = ($opt == 'dir' ? realpath($argv[$i + 1]) . DIRECTORY_SEPARATOR : $argv[$i + 1]);
308 … $new_config_script = $options['dir'] . $options['ext'] . DIRECTORY_SEPARATOR . $config_script;
331 …($options['skel'] . $src_file, $options['dir'] . $options['ext'] . DIRECTORY_SEPARATOR . $dst_file…
335 …process_source_tags($options['dir'] . $options['ext'] . DIRECTORY_SEPARATOR . $dst_file, $dst_file…
355 $new_test = str_replace([$options['skel'], '/'], ['', DIRECTORY_SEPARATOR], $test);
357 if (!copy($test, $options['dir'] . $options['ext'] . DIRECTORY_SEPARATOR . $new_test)) {
361 …process_source_tags($options['dir'] . $options['ext'] . DIRECTORY_SEPARATOR . $new_test, $new_test…
384 } else if (!mkdir($options['dir'] . $options['ext'] . DIRECTORY_SEPARATOR . 'tests')) {
[all …]
/php-src/ext/standard/tests/file/windows_mb_path/
H A Dbug75063_utf8.phpt5 include __DIR__ . DIRECTORY_SEPARATOR . "util.inc";
17 include __DIR__ . DIRECTORY_SEPARATOR . "util.inc";
20 $prefix = __DIR__ . DIRECTORY_SEPARATOR . "bug75063-utf8";
21 $d0 = $prefix . DIRECTORY_SEPARATOR . $dir_basename;
58 $prefix = __DIR__ . DIRECTORY_SEPARATOR . "bug75063-utf8";
59 $d0 = $prefix . DIRECTORY_SEPARATOR . $dir_basename;
64 unlink($d0 . DIRECTORY_SEPARATOR . $file);
H A Dbug75063_cp1251.phpt5 include __DIR__ . DIRECTORY_SEPARATOR . "util.inc";
19 include __DIR__ . DIRECTORY_SEPARATOR . "util.inc";
22 $prefix = __DIR__ . DIRECTORY_SEPARATOR . "bug75063-cp1251";
23 $d0 = $prefix . DIRECTORY_SEPARATOR . $dir_basename;
58 $prefix = __DIR__ . DIRECTORY_SEPARATOR . "bug75063-cp1251";
59 $d0 = $prefix . DIRECTORY_SEPARATOR . $dir_basename;
64 unlink($d0 . DIRECTORY_SEPARATOR . $file);
H A Dtest_rename_mb_names.phpt6 include __DIR__ . DIRECTORY_SEPARATOR . "util.inc";
21 include __DIR__ . DIRECTORY_SEPARATOR . "util.inc";
26 $fw_orig = $prefix . DIRECTORY_SEPARATOR . "Ελλάδα.txt";
30 $fw_copied = $prefix . DIRECTORY_SEPARATOR . "Ελλάδα_copy.txt";
33 $fw_renamed = $prefix . DIRECTORY_SEPARATOR . "測試多字節路徑17.txt";
H A Drecursive_it.phpt5 include __DIR__ . DIRECTORY_SEPARATOR . "util.inc";
18 $dir .= DIRECTORY_SEPARATOR . str_repeat("a", 32);
20 $dir .= DIRECTORY_SEPARATOR . str_repeat("a", $need_len - strlen($dir));
23 $fl = $dir . DIRECTORY_SEPARATOR . "hello.txt";
27 $start = substr($dir, 0, strpos($dir, DIRECTORY_SEPARATOR, strlen(__DIR__)+1));
H A Dtest_cwd_mb_names.phpt6 include __DIR__ . DIRECTORY_SEPARATOR . "util.inc";
21 include __DIR__ . DIRECTORY_SEPARATOR . "util.inc";
24 $dirw = $prefix . DIRECTORY_SEPARATOR . "テストマルチバイト・パス42";
25 touch($dirw . DIRECTORY_SEPARATOR . "dummy.txt");
H A Dbug70903.phpt5 include __DIR__ . DIRECTORY_SEPARATOR . "util.inc";
17 include __DIR__ . DIRECTORY_SEPARATOR . "util.inc";
19 $prefix = __DIR__ . DIRECTORY_SEPARATOR . "testBug70903" . DIRECTORY_SEPARATOR;
/php-src/ext/phar/tests/
H A Dbug54289.phpt10 $base = __DIR__.DIRECTORY_SEPARATOR.'bug54289'.DIRECTORY_SEPARATOR;
21 var_dump(file_exists($outDir.DIRECTORY_SEPARATOR.'dirA'.DIRECTORY_SEPARATOR.'fileA'));
22 var_dump(file_exists($outDir.DIRECTORY_SEPARATOR.'dirA'.DIRECTORY_SEPARATOR.'fileB'));
23 var_dump(is_dir($outDir.DIRECTORY_SEPARATOR.'dirAB'));
55 $base = __DIR__.DIRECTORY_SEPARATOR.'bug54289'.DIRECTORY_SEPARATOR;
/php-src/ext/standard/tests/file/
H A Dlchgrp_basic.phpt10 $filename = __DIR__ . DIRECTORY_SEPARATOR . 'lchgrp.txt';
11 $symlink = __DIR__ . DIRECTORY_SEPARATOR . 'symlink.txt';
24 $filename = __DIR__ . DIRECTORY_SEPARATOR . 'lchgrp.txt';
25 $symlink = __DIR__ . DIRECTORY_SEPARATOR . 'symlink.txt';
H A Dlchown_basic.phpt11 $filename = __DIR__ . DIRECTORY_SEPARATOR . 'lchown_basic.txt';
12 $symlink = __DIR__ . DIRECTORY_SEPARATOR . 'lchown_basic_symlink.txt';
25 $filename = __DIR__ . DIRECTORY_SEPARATOR . 'lchown_basic.txt';
26 $symlink = __DIR__ . DIRECTORY_SEPARATOR . 'lchown_basic_symlink.txt';
/php-src/ext/openssl/tests/
H A Dbug69215.phpt11 $caCertFile = __DIR__ . DIRECTORY_SEPARATOR . 'bug69215-ca.pem.tmp';
12 $clientCertFile = __DIR__ . DIRECTORY_SEPARATOR . 'bug69215-client.pem.tmp';
13 $serverCertFile = __DIR__ . DIRECTORY_SEPARATOR . 'bug69215-server.pem.tmp';
61 @unlink(__DIR__ . DIRECTORY_SEPARATOR . 'bug69215-ca.pem.tmp');
62 @unlink(__DIR__ . DIRECTORY_SEPARATOR . 'bug69215-client.pem.tmp');
63 @unlink(__DIR__ . DIRECTORY_SEPARATOR . 'bug69215-server.pem.tmp');
/php-src/ext/standard/tests/streams/
H A Dstream_resolve_include_path.phpt8 $include_path_file = $include_path . DIRECTORY_SEPARATOR . 'file';
9 $include_path_nested_file = $include_path_nested . DIRECTORY_SEPARATOR . 'file';
30 $include_path_file = $include_path . DIRECTORY_SEPARATOR . 'file';
31 $include_path_nested_file = $include_path_nested . DIRECTORY_SEPARATOR . 'file';

Completed in 28 milliseconds

12345678910>>...16