Home
last modified time | relevance | path

Searched refs:rmdir (Results 1 – 25 of 448) sorted by relevance

12345678910>>...18

/PHP-8.2/tests/security/
H A Dopen_basedir_rmdir.phpt9 test_open_basedir_before("rmdir");
11 var_dump(rmdir("../bad"));
12 var_dump(rmdir(".././bad"));
13 var_dump(rmdir("../bad/../bad"));
14 var_dump(rmdir("./.././bad"));
15 var_dump(rmdir($initdir."/test/bad"));
17 test_open_basedir_after("rmdir");
25 *** Testing open_basedir configuration [rmdir] ***
32 Warning: rmdir(): open_basedir restriction in effect. File(../bad) is not within the allowed path(s…
35 Warning: rmdir(): open_basedir restriction in effect. File(.././bad) is not within the allowed path…
[all …]
/PHP-8.2/ext/standard/tests/file/
H A Dmkdir_rmdir_variation2.phpt2 Test mkdir() and rmdir() functions: usage variations - misc.
19 var_dump( rmdir("$file_path/mkdir_variation2/test/", $context) );
21 echo "\n*** Testing rmdir() on a non-empty directory ***\n";
23 var_dump( rmdir("$file_path/mkdir_variation2/") );
32 var_dump( rmdir("$file_path/temp".chr(0)."/") );
48 rmdir(__DIR__."/mkdir_variation2/test/");
49 rmdir(__DIR__."/mkdir_variation2/");
56 *** Testing rmdir() on a non-empty directory ***
59 Warning: rmdir(%s/mkdir_variation2/): %s on line %d
62 *** Testing mkdir() and rmdir() for binary safe functionality ***
[all …]
H A Dmkdir-003.phpt7 var_dump(rmdir("mkdir-003/subdir"));
8 var_dump(rmdir("mkdir-003"));
11 var_dump(rmdir("./mkdir-003/subdir"));
12 var_dump(rmdir("./mkdir-003"));
15 var_dump(rmdir(__DIR__."/mkdir-003/subdir"));
16 var_dump(rmdir(__DIR__."/mkdir-003"));
H A Dmkdir_rmdir_error.phpt2 Test mkdir() and rmdir() functions : error conditions
6 echo "\n*** Testing rmdir() on non-existent directory ***\n";
7 var_dump( rmdir("temp") );
12 *** Testing rmdir() on non-existent directory ***
14 Warning: rmdir(temp): No such file or directory in %s on line %d
H A Dmkdir-001.phpt8 var_dump(rmdir("mkdir-001/subdir"));
9 var_dump(rmdir("mkdir-001"));
13 var_dump(rmdir("./mkdir-001/subdir"));
14 var_dump(rmdir("./mkdir-001"));
18 var_dump(rmdir(__DIR__."/mkdir-001/subdir"));
19 var_dump(rmdir(__DIR__."/mkdir-001"));
H A Dmkdir-004.phpt14 rmdir("./tmp/foo/bar/logs");
15 rmdir("./tmp/foo/bar/");
16 rmdir("./tmp/foo/");
17 rmdir("./tmp/");
H A Drealpath_basic4.phpt16 rmdir("$file_path/realpath_basic4/link2");
17 rmdir("$file_path/realpath_basic4/link1");
22 rmdir("$file_path/realpath_basic4/home/test");
23 rmdir("$file_path/realpath_basic4/home");
24 rmdir("$file_path/realpath_basic4");
H A Dmkdir-002.phpt15 var_dump(rmdir("mkdir-002/subdir"));
16 var_dump(rmdir("mkdir-002"));
21 var_dump(rmdir("./mkdir-002/subdir"));
22 var_dump(rmdir("./mkdir-002"));
28 var_dump(rmdir(__DIR__."/mkdir-002/subdir"));
29 var_dump(rmdir(__DIR__."/mkdir-002"));
H A Drmdir_variation3.phpt2 Test rmdir() function : variation: various valid and invalid paths
7 echo "*** Testing rmdir() : variation ***\n";
46 $res = rmdir($dir);
51 rmdir($workDir.'/'.$subDir);
55 rmdir($workDir);
59 *** Testing rmdir() : variation ***
68 Warning: rmdir(rmdirVar3.tmp/../BADDIR/aSubDir): No such file or directory in %s on line %d
71 Warning: rmdir(BADDIR/aSubDir): No such file or directory in %s on line %d
80 Warning: rmdir(%s/BADDIR/aSubDir): No such file or directory in %s on line %d
H A Drmdir_variation3-win32.phpt2 Test rmdir() function : variation: various valid and invalid paths
12 echo "*** Testing rmdir() : variation ***\n";
56 $res = rmdir($dir);
61 rmdir($workDir.'/'.$subDir);
65 rmdir($workDir);
69 *** Testing rmdir() : variation ***
78 Warning: rmdir(rmdirVar3.tmp\..\BADDIR\aSubDir): No such file or directory in %s on line %d
81 Warning: rmdir(BADDIR\aSubDir): No such file or directory in %s on line %d
90 Warning: rmdir(%s\BADDIR\aSubDir): No such file or directory in %s on line %d
H A Dclearstatcache_001.phpt12 @rmdir(__FILE__ . "_dir1");
13 @rmdir(__FILE__ . "_dir2");
33 @rmdir(__FILE__ . "_dir1");
34 @rmdir(__FILE__ . "_dir2");
/PHP-8.2/ext/com_dotnet/tests/
H A Dbug78650.phpt20 @rmdir(__DIR__ . '/bug78650/foo/bar');
21 @rmdir(__DIR__ . '/bug78650/foo');
22 rmdir(__DIR__ . '/bug78650/baz/bar');
23 rmdir(__DIR__ . '/bug78650/baz');
24 rmdir(__DIR__ . '/bug78650');
/PHP-8.2/ext/phar/tests/
H A Dphar_extract2.phpt44 @rmdir($dir . 'subdir/ectory');
45 @rmdir($dir . 'subdir');
46 @rmdir($dir . 'one/level');
47 @rmdir($dir . 'one');
48 @rmdir($dir);
50 @rmdir($dir);
H A Drmdir.phpt2 Phar: rmdir test
22 var_dump(rmdir($pname . '/a'));
25 var_dump(rmdir($pname . '/a'));
32 Warning: rmdir(): phar error: Directory not empty in %srmdir.php on line 14
H A Ddir.phpt2 Phar: mkdir/rmdir test
25 rmdir($pname . '/another/dir/');
44 rmdir('phar://');
45 rmdir('phar://' . __DIR__ . '/unknown.phar/hi');
47 rmdir($pname . '/another/dir');
49 rmdir($pname);
50 rmdir($pname . '/');
82 Warning: rmdir(): phar error: cannot remove directory "hi" in phar "%sunknown.phar", directory does…
84 Warning: rmdir(): phar error: cannot rmdir directory "phar://%sdir.phar.php/another/dir", write ope…
86 Warning: rmdir(): phar error: cannot remove directory "" in phar "%sdir.phar.php", directory does n…
[all …]
H A Dmkdir.phpt2 phar: mkdir/rmdir edge cases
17 rmdir('phar://');
18 rmdir('phar://foo.phar');
19 rmdir($pname . '/a');
40 Warning: rmdir(): phar error: cannot remove directory "phar://", no phar archive specified, or phar…
42 Warning: rmdir(): phar error: cannot remove directory "" in phar "foo.phar", directory does not exi…
44 Warning: rmdir(): phar error: cannot remove directory "a" in phar "%smkdir.phar.php", phar error: p…
H A Dphar_extract.phpt109 rmdir(__DIR__ . '/oops1');
115 rmdir($e . 'subdir/ectory');
116 rmdir($e . 'subdir');
117 rmdir($e . 'one');
118 rmdir($e);
122 rmdir($e . 'subdir/ectory');
123 rmdir($e . 'subdir');
124 rmdir($e);
127 rmdir($e . 'one');
128 rmdir($e);
/PHP-8.2/ext/standard/tests/dir/
H A Dbug73877.phpt39 rmdir($junk0);
40 rmdir($dir0);
41 rmdir($dir1);
42 rmdir($base);
/PHP-8.2/ext/phar/tests/zip/
H A Drmdir.phpt2 Phar: rmdir test zip-based
25 var_dump(rmdir($alias . '/a'));
28 var_dump(rmdir($alias . '/a'));
35 Warning: rmdir(): phar error: Directory not empty in %srmdir.php on line %d
/PHP-8.2/ext/standard/tests/file/windows_links/
H A Dbug48746.phpt41 rmdir(__DIR__ . "\\mnt\\test\\directory");
42 rmdir(__DIR__ . "\\mnt\\test\\mklink_junction");
43 rmdir(__DIR__ . "\\mnt\\test\\mounted_volume");
44 rmdir(__DIR__ . "\\mnt\\test");
45 rmdir(__DIR__ . "\\mnt");
H A Dbug48746_2.phpt35 rmdir(__DIR__ . "\\mnt\\test\\directory");
36 rmdir(__DIR__ . "\\mnt\\test\\mklink_junction");
37 rmdir(__DIR__ . "\\mnt\\test\\mounted_volume");
38 rmdir(__DIR__ . "\\mnt\\test");
39 rmdir(__DIR__ . "\\mnt");
H A Dbug73962.phpt34 rmdir(__DIR__ . "\\mnt\\test\\новая папка");
35 rmdir(__DIR__ . "\\mnt\\test\\mklink_symlink");
36 rmdir(__DIR__ . "\\mnt\\test\\mounted_volume");
37 rmdir(__DIR__ . "\\mnt\\test");
38 rmdir(__DIR__ . "\\mnt");
/PHP-8.2/ext/zip/tests/
H A Dbug40228-mb.phpt14 rmdir($dest . '/test/empty');
15 rmdir($dest . '/test');
16 rmdir($dest);
H A Dbug40228.phpt14 rmdir($dest . '/test/empty');
15 rmdir($dest . '/test');
16 rmdir($dest);
/PHP-8.2/ext/phar/tests/tar/
H A Drmdir.phpt2 Phar: rmdir test tar-based
33 var_dump(rmdir($alias . '/a'));
36 var_dump(rmdir($alias . '/a'));
43 Warning: rmdir(): phar error: Directory not empty in %srmdir.php on line %d

Completed in 33 milliseconds

12345678910>>...18