Home
last modified time | relevance | path

Searched refs:mkdir (Results 1 – 25 of 482) sorted by relevance

12345678910>>...20

/PHP-8.4/ext/standard/tests/file/
H A Dmkdir-001.phpt2 mkdir() tests
6 var_dump(mkdir("mkdir-001"));
7 var_dump(mkdir("mkdir-001/subdir"));
8 var_dump(rmdir("mkdir-001/subdir"));
9 var_dump(rmdir("mkdir-001"));
11 var_dump(mkdir("./mkdir-001"));
12 var_dump(mkdir("./mkdir-001/subdir"));
13 var_dump(rmdir("./mkdir-001/subdir"));
14 var_dump(rmdir("./mkdir-001"));
16 var_dump(mkdir(__DIR__."/mkdir-001"));
[all …]
H A Dmkdir-002.phpt2 mkdir(dir, 0777) tests
12 var_dump(mkdir("mkdir-002", 0777));
13 var_dump(mkdir("mkdir-002/subdir", 0777));
14 var_dump(`ls -l mkdir-002`);
16 var_dump(rmdir("mkdir-002"));
18 var_dump(mkdir("./mkdir-002", 0777));
19 var_dump(mkdir("./mkdir-002/subdir", 0777));
20 var_dump(`ls -l ./mkdir-002`);
22 var_dump(rmdir("./mkdir-002"));
24 var_dump(mkdir(__DIR__."/mkdir-002", 0777));
[all …]
H A Dmkdir-003.phpt2 recursive mkdir() tests
6 var_dump(mkdir("mkdir-003/subdir", 0777, true));
7 var_dump(rmdir("mkdir-003/subdir"));
8 var_dump(rmdir("mkdir-003"));
10 var_dump(mkdir("./mkdir-003/subdir", 0777, true));
11 var_dump(rmdir("./mkdir-003/subdir"));
12 var_dump(rmdir("./mkdir-003"));
14 var_dump(mkdir(__DIR__."/mkdir-003/subdir", 0777, true));
15 var_dump(rmdir(__DIR__."/mkdir-003/subdir"));
16 var_dump(rmdir(__DIR__."/mkdir-003"));
H A Dmkdir_rmdir_variation2.phpt2 Test mkdir() and rmdir() functions: usage variations - misc.
22 var_dump( mkdir("$file_path/mkdir_variation2/test/", 0777, true) );
27 var_dump( mkdir("$file_path/temp".chr(0)."/") );
37 echo "\n*** Testing mkdir() with miscellaneous input ***\n";
38 /* changing mode of mkdir to prevent creating sub-directory under it */
40 /* creating sub-directory test1 under mkdir, expected: false */
41 var_dump( mkdir("$file_path/mkdir_variation2/test1", 0777, true) );
62 *** Testing mkdir() and rmdir() for binary safe functionality ***
63 mkdir(): Argument #1 ($directory) must not contain any null bytes
66 *** Testing mkdir() with miscellaneous input ***
[all …]
H A Dmkdir_variation5.phpt2 Test mkdir() function : variation: various valid and invalid paths
12 echo "*** Testing mkdir() : variation ***\n";
16 mkdir($workDir);
50 $res = mkdir($dir);
61 *** Testing mkdir() : variation ***
70 Warning: mkdir(): No such file or directory in %s on line %d
73 Warning: mkdir(): No such file or directory in %s on line %d
82 Warning: mkdir(): No such file or directory in %s on line %d
H A Dmkdir_variation5-win32.phpt2 Test mkdir() function : variation: various valid and invalid paths
12 echo "*** Testing mkdir() : variation ***\n";
16 mkdir($workDir);
55 $res = mkdir($dir);
66 *** Testing mkdir() : variation ***
75 Warning: mkdir(): No such file or directory in %s on line %d
78 Warning: mkdir(): No such file or directory in %s on line %d
87 Warning: mkdir(): No such file or directory in %s on line %d
H A Dbug55124.phpt2 Bug #55124 (recursive mkdir fails with current (dot) directory in path)
7 mkdir('a/./b', 0755, true);
H A Dmkdir-004.phpt2 recursive mkdir() with unclean paths
7 mkdir($dirpath, 0777, true);
H A Dfopen_variation16.phpt10 mkdir($thisTestDir);
30 mkdir($dir1.'/'.$extraDir);
31 mkdir($extraDir);
H A Dfopen_variation17.phpt10 mkdir($thisTestDir);
30 mkdir($dir1.'/'.$extraDir);
31 mkdir($extraDir);
/PHP-8.4/tests/security/
H A Dopen_basedir_mkdir.phpt9 test_open_basedir_before("mkdir");
11 var_dump(mkdir("../bad/blah"));
12 var_dump(mkdir("../blah"));
13 var_dump(mkdir("../bad/./blah"));
14 var_dump(mkdir("./.././blah"));
16 var_dump(mkdir($initdir."/test/ok/blah"));
18 test_open_basedir_after("mkdir");
26 *** Testing open_basedir configuration [mkdir] ***
33 Warning: mkdir(): open_basedir restriction in effect. File(../bad/blah) is not within the allowed p…
36 Warning: mkdir(): open_basedir restriction in effect. File(../blah) is not within the allowed path(…
[all …]
H A Dopen_basedir_glob_variation.phpt9 mkdir($dir);
10 mkdir($dir2);
/PHP-8.4/ext/phar/tests/
H A Ddir.phpt2 Phar: mkdir/rmdir test
23 mkdir($pname . '/another/dir/');
32 mkdir($pname . '/fails');
34 // create new phar by mkdir
35 mkdir('phar://' . __DIR__ . '/ok.phar/fails');
36 mkdir('phar://' . __DIR__ . '/ok.phar/fails');
38 mkdir('phar://' . __DIR__ . '/ok.phar/sub');
39 mkdir('phar://' . __DIR__ . '/ok.phar/sub/directory.txt');
41 mkdir('phar://' . __DIR__ . '/oops.phar/fails');
43 mkdir('phar://');
[all …]
H A Dmkdir.phpt2 phar: mkdir/rmdir edge cases
12 mkdir('phar://');
13 mkdir('phar://foo.phar');
16 mkdir($pname . '/a');
34 Warning: mkdir(): phar error: cannot create directory "phar://", no phar archive specified in %smkd…
36 Warning: mkdir(): phar error: cannot create directory "" in phar "foo.phar", phar error: invalid pa…
38 Warning: mkdir(): phar error: cannot create directory "a" in phar "%smkdir.phar.php", phar error: p…
/PHP-8.4/ext/zlib/tests/
H A Dreading_include_path.inc3 mkdir($thisTestDir);
22 mkdir($newdir);
25 mkdir($workingDir);
/PHP-8.4/win32/build/
H A Dmkdist.php21 @mkdir($dist_dir);
22 @mkdir("$dist_dir/ext");
23 @mkdir("$dist_dir/dev");
24 @mkdir("$dist_dir/extras");
25 @mkdir($pecl_dir);
350 if (!mkdir("$dest", 0777, true)) {
413 if (!mkdir($dest)) {
444 mkdir($dest . '/tests', 0775, true);
507 mkdir($test_dir);
527 mkdir("$dist_dir/PEAR");
[all …]
/PHP-8.4/ext/standard/tests/dir/
H A Dbug73877.phpt18 mkdir($base);
19 mkdir($dir0);
20 mkdir($dir1);
H A Dchdir_basic-win32-mb.phpt17 @mkdir($base_dir_path);
26 mkdir($level_one_dir_path);
27 mkdir($level_two_dir_path);
H A Dopendir_basic.phpt12 @mkdir($base_dir_path);
21 mkdir($level_one_dir_path);
22 mkdir($level_two_dir_path);
H A Dopendir_basic-win32-mb.phpt18 @mkdir($base_dir_path);
27 mkdir($level_one_dir_path);
28 mkdir($level_two_dir_path);
/PHP-8.4/ext/session/
H A Dmod_files.sh56 mkdir -p $directory
64 mkdir $newpath || exit 1
/PHP-8.4/ext/dba/
H A Dinstall_cdb.sh26 if mkdir -p "$prefix/include" "$prefix/lib"; then
33 mkdir -p tmp || exit 1
/PHP-8.4/ext/standard/tests/streams/
H A Dbug40459.phpt37 function mkdir($dir, $mode, $options)
77 echo 'mkdir: ';
78 mkdir('test://test');
101 mkdir: yes
/PHP-8.4/ext/standard/tests/file/windows_mb_path/
H A Dbug61315.phpt24 mkdir($prefix);
26 mkdir($d0);
27 mkdir($d1);
/PHP-8.4/ext/standard/tests/general_functions/
H A Dbug41518.phpt6 mkdir($tmp_dir);
18 @mkdir($tmp_dir);

Completed in 27 milliseconds

12345678910>>...20